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

Unified Diff: content/browser/in_process_webkit/dom_storage_namespace.cc

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
Index: content/browser/in_process_webkit/dom_storage_namespace.cc
===================================================================
--- content/browser/in_process_webkit/dom_storage_namespace.cc (revision 83945)
+++ content/browser/in_process_webkit/dom_storage_namespace.cc (working copy)
@@ -54,9 +54,7 @@
}
}
-DOMStorageArea* DOMStorageNamespace::GetStorageArea(
- const string16& origin,
- HostContentSettingsMap* host_content_settings_map) {
+DOMStorageArea* DOMStorageNamespace::GetStorageArea(const string16& origin) {
// We may have already created it for another dispatcher host.
OriginToStorageAreaMap::iterator iter = origin_to_storage_area_.find(origin);
if (iter != origin_to_storage_area_.end())
@@ -65,8 +63,7 @@
// We need to create a new one.
int64 id = dom_storage_context_->AllocateStorageAreaId();
DCHECK(!dom_storage_context_->GetStorageArea(id));
- DOMStorageArea* storage_area = new DOMStorageArea(origin, id, this,
- host_content_settings_map);
+ DOMStorageArea* storage_area = new DOMStorageArea(origin, id, this);
origin_to_storage_area_[origin] = storage_area;
dom_storage_context_->RegisterStorageArea(storage_area);
return storage_area;

Powered by Google App Engine
This is Rietveld 408576698