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

Side by Side Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 26359003: Adding "UserAddedToSession" notifier to the SessionStateObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 // Notifies the UI about a change to the user list. 273 // Notifies the UI about a change to the user list.
274 void NotifyUserListChanged(); 274 void NotifyUserListChanged();
275 275
276 // Notifies observers that merge session state had changed. 276 // Notifies observers that merge session state had changed.
277 void NotifyMergeSessionStateChanged(); 277 void NotifyMergeSessionStateChanged();
278 278
279 // Notifies observers that active user has changed. 279 // Notifies observers that active user has changed.
280 void NotifyActiveUserChanged(const User* active_user); 280 void NotifyActiveUserChanged(const User* active_user);
281 281
282 // Notifies observers that another user was added to the session.
283 void NotifyUserAddedToSession(const User* added_user);
284
282 // Notifies observers that active user_id hash has changed. 285 // Notifies observers that active user_id hash has changed.
283 void NotifyActiveUserHashChanged(const std::string& hash); 286 void NotifyActiveUserHashChanged(const std::string& hash);
284 287
285 // Notifies observers that user pending sessions restore has finished. 288 // Notifies observers that user pending sessions restore has finished.
286 void NotifyPendingUserSessionsRestoreFinished(); 289 void NotifyPendingUserSessionsRestoreFinished();
287 290
288 // Returns true if there is non-committed user creation transaction. 291 // Returns true if there is non-committed user creation transaction.
289 bool HasFailedLocallyManagedUserCreationTransaction(); 292 bool HasFailedLocallyManagedUserCreationTransaction();
290 293
291 // Attempts to clean up data that could be left from failed user creation. 294 // Attempts to clean up data that could be left from failed user creation.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; 440 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_;
438 scoped_ptr<MultiProfileFirstRunNotification> 441 scoped_ptr<MultiProfileFirstRunNotification>
439 multi_profile_first_run_notification_; 442 multi_profile_first_run_notification_;
440 443
441 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 444 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
442 }; 445 };
443 446
444 } // namespace chromeos 447 } // namespace chromeos
445 448
446 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 449 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.cc ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698