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

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: move IsMultiProfilesEnabled() out of cros 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | chrome/common/logging_chrome.cc » ('j') | 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 af11b529d2898a8e000b9507dfdc9fc47e56f5dc..d9091f5e69ef75da526776251499286f0b9971bd 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.
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | chrome/common/logging_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698