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

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
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index d02aa7244b45fb8ebf0d8f1462a6a98ec33d15a8..b7f6a409cd70dc80822a94efc3a4b7dc618fb165 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_proxy.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 DOMStorageContextProxy 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*>(
+ DOMStorageContextProxy* dom_storage_context_proxy =
+ static_cast<DOMStorageContextProxy*>(
storage_partition->GetDOMStorageContext());
- dom_storage_context_impl->SetForceKeepSessionState();
+ dom_storage_context_proxy->SetForceKeepSessionState();
IndexedDBContextImpl* indexed_db_context_impl =
static_cast<IndexedDBContextImpl*>(

Powered by Google App Engine
This is Rietveld 408576698