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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 10496010: Updated SigninManager and TokenService to generate notifications at signout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify cros code in SyncSetupHandler. Created 8 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/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index bd2491be5dcd3a40b52c6444d031bdeb2bfcef8f..45742a66ee3da8549abfe500cb275e2939857c71 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -825,8 +825,14 @@ enum NotificationType {
// Profile. The details are a TokenAvailableDetails object.
NOTIFICATION_TOKEN_UPDATED,
+ // Fired when the TokenService has had all of its tokens removed (such as due
+ // to the user signing out). The source is the TokenService. There are no
+ // details.
+ NOTIFICATION_TOKENS_CLEARED,
+
// Sent when a user signs into Google services such as sync.
- // The source is the Profile. The details are a GoogleServiceSignin object.
+ // The source is the Profile. The details are a
+ // GoogleServiceSigninSuccessDetails object.
NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL,
// Sent when a user fails to sign into Google services such as sync.
@@ -834,6 +840,10 @@ enum NotificationType {
// object.
NOTIFICATION_GOOGLE_SIGNIN_FAILED,
+ // Sent when the currently signed-in user for a user has been signed out.
+ // The source is the Profile. There are no details.
+ NOTIFICATION_GOOGLE_SIGNED_OUT,
+
// Autofill Notifications --------------------------------------------------
// Sent when a popup with Autofill suggestions is shown in the renderer.

Powered by Google App Engine
This is Rietveld 408576698