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

Unified Diff: content/browser/storage_partition_impl.h

Issue 12049052: Move core url data manager classes to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/storage_partition_impl.h
===================================================================
--- content/browser/storage_partition_impl.h (revision 178359)
+++ content/browser/storage_partition_impl.h (working copy)
@@ -13,6 +13,8 @@
#include "content/browser/in_process_webkit/indexed_db_context_impl.h"
#include "content/public/browser/storage_partition.h"
+class ChromeURLDataManager;
+
namespace content {
class StoragePartitionImpl : public StoragePartition {
@@ -34,6 +36,10 @@
net::URLRequestContextGetter* request_context_getter) OVERRIDE;
virtual void AsyncClearAllData() OVERRIDE;
+ ChromeURLDataManager* url_data_manager() const {
+ return url_data_manager_.get();
+ }
+
private:
friend class StoragePartitionImplMap;
@@ -54,7 +60,8 @@
fileapi::FileSystemContext* filesystem_context,
webkit_database::DatabaseTracker* database_tracker,
DOMStorageContextImpl* dom_storage_context,
- IndexedDBContextImpl* indexed_db_context);
+ IndexedDBContextImpl* indexed_db_context,
+ ChromeURLDataManager* url_data_manager);
// Used by StoragePartitionImplMap.
//
@@ -81,6 +88,7 @@
scoped_refptr<webkit_database::DatabaseTracker> database_tracker_;
scoped_refptr<DOMStorageContextImpl> dom_storage_context_;
scoped_refptr<IndexedDBContextImpl> indexed_db_context_;
+ scoped_ptr<ChromeURLDataManager> url_data_manager_;
DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
};

Powered by Google App Engine
This is Rietveld 408576698