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

Unified Diff: chrome/browser/chrome_notification_types.h

Issue 266343002: Unload all apps / extensions when deleting a profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not send NULL extension pointer in notifications. 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/chrome_notification_types.h
diff --git a/chrome/browser/chrome_notification_types.h b/chrome/browser/chrome_notification_types.h
index 6e1adf46d76fd0f8e7a20887b7a51fc2617c76dc..9303cac9c659d6ee4d97d78ba59010bb07a23334 100644
--- a/chrome/browser/chrome_notification_types.h
+++ b/chrome/browser/chrome_notification_types.h
@@ -287,6 +287,12 @@ enum NotificationType {
// The details are none and the source is the new profile.
NOTIFICATION_PROFILE_ADDED,
+ // Sent early in the process of destroying a Profile, at the time a user
+ // initiates the deletion of a profile versus the much later time when the
+ // profile object is actually destroyed (use NOTIFICATION_PROFILE_DESTROYED).
+ // The details are none and the source is a Profile*.
+ NOTIFICATION_PROFILE_DESTRUCTION_STARTED,
+
// Sent before a Profile is destroyed. This notification is sent both for
// normal and OTR profiles.
// The details are none and the source is a Profile*.
« no previous file with comments | « chrome/browser/background/background_contents_service.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698