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

Unified Diff: content/browser/storage_partition_impl.cc

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.cc
===================================================================
--- content/browser/storage_partition_impl.cc (revision 178359)
+++ content/browser/storage_partition_impl.cc (working copy)
@@ -6,6 +6,7 @@
#include "base/utf_string_conversions.h"
#include "content/browser/fileapi/browser_file_system_helper.h"
+#include "content/browser/webui/url_data_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/dom_storage_context.h"
@@ -117,14 +118,16 @@
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)
: partition_path_(partition_path),
quota_manager_(quota_manager),
appcache_service_(appcache_service),
filesystem_context_(filesystem_context),
database_tracker_(database_tracker),
dom_storage_context_(dom_storage_context),
- indexed_db_context_(indexed_db_context) {
+ indexed_db_context_(indexed_db_context),
+ url_data_manager_(url_data_manager) {
}
StoragePartitionImpl::~StoragePartitionImpl() {
@@ -189,13 +192,16 @@
scoped_refptr<ChromeAppCacheService> appcache_service =
new ChromeAppCacheService(quota_manager->proxy());
+ ChromeURLDataManager* url_data_manager = new ChromeURLDataManager(context);
+
return new StoragePartitionImpl(partition_path,
quota_manager,
appcache_service,
filesystem_context,
database_tracker,
dom_storage_context,
- indexed_db_context);
+ indexed_db_context,
+ url_data_manager);
}
FilePath StoragePartitionImpl::GetPath() {

Powered by Google App Engine
This is Rietveld 408576698