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

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 152808)
+++ chrome/browser/extensions/data_deleter.cc (working copy)
@@ -82,7 +82,9 @@
const GURL& storage_origin,
bool is_storage_isolated)
: extension_id_(extension_id) {
- database_tracker_ = BrowserContext::GetDatabaseTracker(profile);
+ // TODO(michaeln): use contexts from the right StoragePartition
awong 2012/08/27 21:11:25 Capitalization and punctuation. Also, if you want
michaeln 2012/08/27 22:09:57 Done.
+ 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