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

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
Index: chrome/browser/extensions/extension_service_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_service_unittest.cc (revision 152808)
+++ chrome/browser/extensions/extension_service_unittest.cc (working copy)
@@ -73,6 +73,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"
@@ -3426,7 +3427,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;
@@ -3537,7 +3539,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;

Powered by Google App Engine
This is Rietveld 408576698