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/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: Fixed comment per review. Created 8 years, 6 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/ui/webui/sync_setup_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index cf151dac83743f818aa5940a9879d13d99aa2726..7834f56af8d8979539d32b75d7770714be93f20f 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.
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698