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

Unified Diff: content/browser/browser_context.cc

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/browser/browsing_data/browsing_data_remover_unittest.cc ('k') | content/browser/dom_storage/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index d02aa7244b45fb8ebf0d8f1462a6a98ec33d15a8..2e76dc00ad5182f4e5979ba511cd0ed625b3cd34 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -6,7 +6,7 @@
#if !defined(OS_IOS)
#include "content/browser/appcache/chrome_appcache_service.h"
-#include "content/browser/dom_storage/dom_storage_context_impl.h"
+#include "content/browser/dom_storage/dom_storage_context_wrapper.h"
#include "content/browser/download/download_manager_impl.h"
#include "content/browser/indexed_db/indexed_db_context_impl.h"
#include "content/browser/loader/resource_dispatcher_host_impl.h"
@@ -65,7 +65,7 @@ StoragePartition* GetStoragePartitionFromConfig(
return partition_map->Get(partition_domain, partition_name, in_memory);
}
-// Run |callback| on each DOMStorageContextImpl in |browser_context|.
+// Run |callback| on each DOMStorageContextWrapper in |browser_context|.
void PurgeDOMStorageContextInPartition(StoragePartition* storage_partition) {
static_cast<StoragePartitionImpl*>(storage_partition)->
GetDOMStorageContext()->PurgeMemory();
@@ -233,10 +233,10 @@ void BrowserContext::SaveSessionState(BrowserContext* browser_context) {
storage_partition->GetAppCacheService()));
}
- DOMStorageContextImpl* dom_storage_context_impl =
- static_cast<DOMStorageContextImpl*>(
+ DOMStorageContextWrapper* dom_storage_context_proxy =
+ static_cast<DOMStorageContextWrapper*>(
storage_partition->GetDOMStorageContext());
- dom_storage_context_impl->SetForceKeepSessionState();
+ dom_storage_context_proxy->SetForceKeepSessionState();
IndexedDBContextImpl* indexed_db_context_impl =
static_cast<IndexedDBContextImpl*>(
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover_unittest.cc ('k') | content/browser/dom_storage/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698