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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 266343002: Unload all apps / extensions when deleting a profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 03f18a1957bce230be6e745614a80eefb2d8d16b..bc058c06621c9104e401d21aefd2eda3e54b6dc8 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -557,6 +557,11 @@ class ExtensionService
// Used only by test code.
void UnloadAllExtensionsInternal();
+ // Disable apps & extensions now to stop them from running after a profile
+ // has been conceptually deleted. Don't wait for full browser shutdown and
+ // the actual profile objects to be destroyed.
+ void OnProfileDestructionStarted();
+
// The normal profile associated with this ExtensionService.
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698