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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 15718003: Add SessionStateObserver with ActiveUserChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UserIdList > UserEmailList Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 // Sent when PerformanceMonitor has finished all the initial steps of data 883 // Sent when PerformanceMonitor has finished all the initial steps of data
884 // collection and has begun passively observing. The source is the 884 // collection and has begun passively observing. The source is the
885 // PerformanceMonitor*. No details are expected. 885 // PerformanceMonitor*. No details are expected.
886 NOTIFICATION_PERFORMANCE_MONITOR_INITIALIZED, 886 NOTIFICATION_PERFORMANCE_MONITOR_INITIALIZED,
887 887
888 #if defined(OS_CHROMEOS) 888 #if defined(OS_CHROMEOS)
889 // Sent when a chromium os user logs in. 889 // Sent when a chromium os user logs in.
890 // The details are a chromeos::User object. 890 // The details are a chromeos::User object.
891 NOTIFICATION_LOGIN_USER_CHANGED, 891 NOTIFICATION_LOGIN_USER_CHANGED,
892 892
893 // Sent when a chromium os active user has changed.
894 // The details are a chromeos::User object.
895 // This notification is _not_ sent when user logs in to a new or existing
896 // session because NOTIFICATION_LOGIN_USER_CHANGED is sent instead.
897 NOTIFICATION_ACTIVE_USER_CHANGED,
898
899 // Sent immediately after the logged-in user's profile is ready. 893 // Sent immediately after the logged-in user's profile is ready.
900 // The details are a Profile object. 894 // The details are a Profile object.
901 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, 895 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED,
902 896
903 // Sent when the chromium session of a particular user is started. 897 // Sent when the chromium session of a particular user is started.
904 // If this is a new user on the machine this will not be sent until a profile 898 // If this is a new user on the machine this will not be sent until a profile
905 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is 899 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is
906 // sent immediately after the user has logged in. This will be sent again if 900 // sent immediately after the user has logged in. This will be sent again if
907 // the browser crashes and restarts. 901 // the browser crashes and restarts.
908 // The details are a chromeos::User object. 902 // The details are a chromeos::User object.
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 // Note:- 1239 // Note:-
1246 // Currently only Content and Chrome define and use notifications. 1240 // Currently only Content and Chrome define and use notifications.
1247 // Custom notifications not belonging to Content and Chrome should start 1241 // Custom notifications not belonging to Content and Chrome should start
1248 // from here. 1242 // from here.
1249 NOTIFICATION_CHROME_END, 1243 NOTIFICATION_CHROME_END,
1250 }; 1244 };
1251 1245
1252 } // namespace chrome 1246 } // namespace chrome
1253 1247
1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1248 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698