Index: chrome/common/chrome_notification_types.h |
=================================================================== |
--- chrome/common/chrome_notification_types.h (revision 144917) |
+++ chrome/common/chrome_notification_types.h (working copy) |
@@ -870,6 +870,10 @@ |
// The source is the Profile. There are no details. |
NOTIFICATION_GOOGLE_SIGNED_OUT, |
+ // Sent when a login UI state changes: when new login UI is shown or when |
+ // login UI is closed. |
+ NOTIFICATION_LOGIN_UI_CHANGED, |
jam
2012/07/03 05:52:27
who's listening to this notification?
Munjal (Google)
2012/07/03 17:52:17
The listening code is coming up in the next patch.
jam
2012/07/04 04:25:21
can we keep the notification until that patch then
Munjal (Google)
2012/07/09 17:30:06
I uploaded the patch that uses the notification. S
jam
2012/07/09 17:35:53
given that there's only one place that listens to
Munjal (Google)
2012/07/09 19:24:59
The main reason is to simplify lifetime management
jam
2012/07/09 19:38:13
Given that LoginUIService is a profile keyed servi
Munjal (Google)
2012/07/09 19:48:54
Yeah, LoginUIService is okay. You are right.
But
jam
2012/07/09 21:02:50
This is a common pattern, and we have ObserverList
|
+ |
// Autofill Notifications -------------------------------------------------- |
// Sent when a popup with Autofill suggestions is shown in the renderer. |