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

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: 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 eb5ed40342d01fad4b6a435a7abecc75b5c98a22..d0490edbc678447c661714e561693f65dfeb6179 100644
--- a/chrome/browser/chrome_notification_types.h
+++ b/chrome/browser/chrome_notification_types.h
@@ -293,6 +293,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*.

Powered by Google App Engine
This is Rietveld 408576698