Only ask the user on setItems whether they want to allow dom storage.
Also add some plumbing for popping up an icon when it's blocked.

TEST=Turn on the ask content setting for a domain and set local storage and then clear it.  Only the set should prompt you.
BUG=34668

Review URL: http://codereview.chromium.org/600078

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39018 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/renderer/renderer_webstoragearea_impl.h b/chrome/renderer/renderer_webstoragearea_impl.h
index 5ce935f9..7bd6ff1a 100644
--- a/chrome/renderer/renderer_webstoragearea_impl.h
+++ b/chrome/renderer/renderer_webstoragearea_impl.h
@@ -22,7 +22,7 @@
   virtual WebKit::WebString getItem(const WebKit::WebString& key);
   virtual void setItem(
       const WebKit::WebString& key, const WebKit::WebString& value,
-      const WebKit::WebURL& url, bool& quota_exception,
+      const WebKit::WebURL& url, WebStorageArea::Result& result,
       WebKit::WebString& old_value);
   virtual void removeItem(
       const WebKit::WebString& key, const WebKit::WebURL& url,