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

Unified Diff: chrome/browser/extensions/extension_service_unittest.cc

Issue 10879075: Shard DatabaseTracker (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/extensions/data_deleter.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_service_unittest.cc (revision 153709)
+++ chrome/browser/extensions/extension_service_unittest.cc (working copy)
@@ -74,6 +74,7 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/plugin_service.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/common/content_constants.h"
#include "content/public/test/test_browser_thread.h"
#include "googleurl/src/gurl.h"
@@ -3427,7 +3428,8 @@
// Open a database.
webkit_database::DatabaseTracker* db_tracker =
- BrowserContext::GetDatabaseTracker(profile_.get());
+ BrowserContext::GetDefaultStoragePartition(profile_.get())->
+ GetDatabaseTracker();
string16 db_name = UTF8ToUTF16("db");
string16 description = UTF8ToUTF16("db_description");
int64 size;
@@ -3538,7 +3540,8 @@
// Open a database.
webkit_database::DatabaseTracker* db_tracker =
- BrowserContext::GetDatabaseTracker(profile_.get());
+ BrowserContext::GetDefaultStoragePartition(profile_.get())->
+ GetDatabaseTracker();
string16 db_name = UTF8ToUTF16("db");
string16 description = UTF8ToUTF16("db_description");
int64 size;
« no previous file with comments | « chrome/browser/extensions/data_deleter.cc ('k') | content/browser/browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698