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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 e959fa18cf61f7f6ba0cd48eeb25370bad3e7d50..6d27acbb4885a8811b71360f9d31923dade2f169 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -890,16 +890,25 @@ enum NotificationType {
#if defined(OS_CHROMEOS)
// Sent when a chromium os user logs in.
+ // The details are a chromeos::User object.
NOTIFICATION_LOGIN_USER_CHANGED,
+ // Sent when a chromium os active user has changed.
+ // The details are a chromeos::User object.
+ // This notification is _not_ sent when user logs in to a new or existing
+ // session because NOTIFICATION_LOGIN_USER_CHANGED is sent instead.
+ NOTIFICATION_ACTIVE_USER_CHANGED,
+
// Sent immediately after the logged-in user's profile is ready.
// The details are a Profile object.
NOTIFICATION_LOGIN_USER_PROFILE_PREPARED,
- // Sent when the chromium session is first started. If this is a new user this
- // will not be sent until a profile picture has been selected, unlike
- // NOTIFICATION_LOGIN_USER_CHANGED which is sent immediately after the user
- // has logged in. This will be sent again if the browser crashes and restarts.
+ // Sent when the chromium session of a particular user is started.
+ // If this is a new user on the machine this will not be sent until a profile
+ // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is
+ // sent immediately after the user has logged in. This will be sent again if
+ // the browser crashes and restarts.
+ // The details are a chromeos::User object.
NOTIFICATION_SESSION_STARTED,
// Sent when user image is updated.

Powered by Google App Engine
This is Rietveld 408576698