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

Unified Diff: chrome/common/notification_type.h

Issue 3305003: New authorization framework for sync. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/notification_type.h
===================================================================
--- chrome/common/notification_type.h (revision 58702)
+++ chrome/common/notification_type.h (working copy)
@@ -1045,6 +1045,13 @@
// are a ChromeCookieDetails object.
COOKIE_CHANGED,
+ // Sidebar -----------------------------------------------------------------
+
+ // Sent when the sidebar state is changed.
+ // The source is a SidebarManager instance, the details are the changed
+ // SidebarContainer object.
+ SIDEBAR_CHANGED,
+
// Token Service -----------------------------------------------------------
// When the token service has a new token available for a service, one of
@@ -1053,16 +1060,32 @@
// TokenAvailableDetails object.
TOKEN_AVAILABLE,
- // Sent when the sidebar state is changed.
- // The source is a SidebarManager instance, the details are the changed
- // SidebarContainer object.
- SIDEBAR_CHANGED,
+ // When there aren't any additional tokens left to load, this notification
+ // is sent.
+ // The source is a TokenService on the profile. There are no details.
+ TOKEN_LOADING_FINISHED,
// If a token request failed, one of these is issued per failed request.
// The source is a TokenService on the Profile. The details are a
// TokenRequestFailedDetails object.
TOKEN_REQUEST_FAILED,
+ // When a service has a new token they got from a frontend that the
+ // TokenService should know about, fire this notification. The details
+ // are a TokenAvailableDetails object.
+ TOKEN_UPDATED,
+
+ // Sent when a user signs into Google services such as sync.
+ // The source is the SigninManager instance. The details are a
+ // GoogleServiceSignin object.
+ GOOGLE_SIGNIN_SUCCESSFUL,
+
+ // Sent when a user fails to sign into Google services such as sync.
+ // The source is the SigninManager instance. The details are a
+ // GoogleServiceAuthError object.
+ GOOGLE_SIGNIN_FAILED,
+
+
// Misc --------------------------------------------------------------------
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698