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

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

Issue 6915017: Chrome side to allow WebKit layer to use WebPermissionClient to check if access to local storage ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | content/browser/in_process_webkit/dom_storage_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/in_process_webkit/dom_storage_area.h
===================================================================
--- content/browser/in_process_webkit/dom_storage_area.h (revision 83945)
+++ content/browser/in_process_webkit/dom_storage_area.h (working copy)
@@ -16,16 +16,13 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageArea.h"
class DOMStorageNamespace;
-class HostContentSettingsMap;
-
// Only use on the WebKit thread. DOMStorageNamespace manages our registration
// with DOMStorageContext.
class DOMStorageArea {
public:
DOMStorageArea(const string16& origin,
int64 id,
- DOMStorageNamespace* owner,
- HostContentSettingsMap* host_content_settings_map);
+ DOMStorageNamespace* owner);
~DOMStorageArea();
unsigned Length();
@@ -46,9 +43,6 @@
// 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_;
@@ -62,8 +56,6 @@
// The DOMStorageNamespace that owns us.
DOMStorageNamespace* owner_;
- scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(DOMStorageArea);
};
« no previous file with comments | « chrome/renderer/content_settings_observer.cc ('k') | content/browser/in_process_webkit/dom_storage_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698