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

Unified Diff: chrome/browser/browsing_data/browsing_data_database_helper_browsertest.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/browsing_data/browsing_data_database_helper_browsertest.cc
===================================================================
--- chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc (revision 153709)
+++ chrome/browser/browsing_data/browsing_data_database_helper_browsertest.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/ui/browser.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
+#include "content/public/browser/storage_partition.h"
#include "content/public/test/test_browser_thread.h"
using content::BrowserContext;
@@ -30,7 +31,8 @@
public:
virtual void CreateDatabases() {
webkit_database::DatabaseTracker* db_tracker =
- BrowserContext::GetDatabaseTracker(browser()->profile());
+ BrowserContext::GetDefaultStoragePartition(browser()->profile())->
+ GetDatabaseTracker();
string16 db_name = ASCIIToUTF16("db");
string16 description = ASCIIToUTF16("db_description");
int64 size;
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_database_helper.cc ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698