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

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

Issue 11419307: Garbage Collect the Storage directory on next profile start after an extension uninstall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small fixes. Created 8 years 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
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc
index fe84639e561255206659e87add712820141785ba..a164df0ac6daddb07d97f5c5cfa01c43df6e50cf 100644
--- a/chrome/browser/extensions/data_deleter.cc
+++ b/chrome/browser/extensions/data_deleter.cc
@@ -22,18 +22,12 @@ namespace extensions {
// static
void DataDeleter::StartDeleting(Profile* profile,
const std::string& extension_id,
- const GURL& storage_origin,
- bool is_storage_isolated) {
+ const GURL& storage_origin) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(profile);
const GURL& site = Extension::GetBaseURLFromExtensionId(extension_id);
- if (is_storage_isolated) {
- BrowserContext::AsyncObliterateStoragePartition(profile, site);
- return;
- }
-
content::StoragePartition* partition =
BrowserContext::GetStoragePartitionForSite(profile, site);

Powered by Google App Engine
This is Rietveld 408576698