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

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

Issue 470693003: Cleanup: Remove more unneeded ifdefs in chrome/browser/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
« no previous file with comments | « chrome/browser/extensions/context_menu_matcher.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/data_deleter.cc
diff --git a/chrome/browser/extensions/data_deleter.cc b/chrome/browser/extensions/data_deleter.cc
index acd5d099bfd4237fe3e922fa2befe0909db60050..2b875a2c896d05e8ce6f9adfeb6076b1ce850c97 100644
--- a/chrome/browser/extensions/data_deleter.cc
+++ b/chrome/browser/extensions/data_deleter.cc
@@ -75,7 +75,7 @@ void OnNeedsToGarbageCollectIsolatedStorage(WeakPtr<ExtensionService> es,
callback.Run();
}
-} // namespace
+} // namespace
// static
void DataDeleter::StartDeleting(Profile* profile,
@@ -111,13 +111,11 @@ void DataDeleter::StartDeleting(Profile* profile,
DeleteOrigin(profile, partition, extension->url(), callback);
}
-#if defined(ENABLE_EXTENSIONS)
// Begin removal of the settings for the current extension.
// StorageFrontend may not exist in unit tests.
StorageFrontend* frontend = StorageFrontend::Get(profile);
if (frontend)
frontend->DeleteStorageSoon(extension->id());
-#endif // defined(ENABLE_EXTENSIONS)
}
} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/context_menu_matcher.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698