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

Unified Diff: chrome/browser/extensions/data_deleter.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/data_deleter.cc
===================================================================
--- chrome/browser/extensions/data_deleter.cc (revision 153709)
+++ chrome/browser/extensions/data_deleter.cc (working copy)
@@ -81,7 +81,10 @@
const GURL& storage_origin,
bool is_storage_isolated)
: extension_id_(extension_id) {
- database_tracker_ = BrowserContext::GetDatabaseTracker(profile);
+ // TODO(michaeln): Delete from the right StoragePartition.
+ // http://crbug.com/85127
+ database_tracker_ = BrowserContext::GetDefaultStoragePartition(profile)->
+ GetDatabaseTracker();
// Pick the right request context depending on whether it's an extension,
// isolated app, or regular app.
if (storage_origin.SchemeIs(chrome::kExtensionScheme)) {

Powered by Google App Engine
This is Rietveld 408576698