Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7170)

Unified Diff: chrome/browser/in_process_webkit/dom_storage_area.h

Issue 597061: Make the setItem CONTENT_SETTING_ASK dialog more useful by showing the actual... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/in_process_webkit/dom_storage_area.h
===================================================================
--- chrome/browser/in_process_webkit/dom_storage_area.h (revision 38896)
+++ chrome/browser/in_process_webkit/dom_storage_area.h (working copy)
@@ -38,7 +38,6 @@
NullableString16 RemoveItem(const string16& key);
bool Clear();
void PurgeMemory();
- bool CheckContentSetting();
int64 id() const { return id_; }
@@ -46,6 +45,9 @@
// Creates the underlying WebStorageArea on demand.
void CreateWebStorageAreaIfNecessary();
+ // Used to see if setItem has permission to do its thing.
+ bool CheckContentSetting(const string16& key, const string16& value);
+
// The origin this storage area represents.
string16 origin_;
GURL origin_url_;

Powered by Google App Engine
This is Rietveld 408576698