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

Side by Side Diff: chrome/browser/chromeos/login/user_manager.cc

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 #include "chrome/browser/chromeos/login/user_manager.h" 5 #include "chrome/browser/chromeos/login/user_manager.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 #include "chrome/browser/chromeos/login/user_manager_impl.h" 9 #include "chrome/browser/chromeos/login/user_manager_impl.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
(...skipping 19 matching lines...) Expand all
30 UserManager::Observer::~Observer() { 30 UserManager::Observer::~Observer() {
31 } 31 }
32 32
33 void UserManager::Observer::LocalStateChanged(UserManager* user_manager) { 33 void UserManager::Observer::LocalStateChanged(UserManager* user_manager) {
34 } 34 }
35 35
36 void UserManager::UserSessionStateObserver::ActiveUserChanged( 36 void UserManager::UserSessionStateObserver::ActiveUserChanged(
37 const User* active_user) { 37 const User* active_user) {
38 } 38 }
39 39
40 void UserManager::UserSessionStateObserver::UserAddedToSession(
41 const User* active_user) {
42 }
43
40 void UserManager::UserSessionStateObserver::ActiveUserHashChanged( 44 void UserManager::UserSessionStateObserver::ActiveUserHashChanged(
41 const std::string& hash) { 45 const std::string& hash) {
42 } 46 }
43 47
44 void UserManager::UserSessionStateObserver:: 48 void UserManager::UserSessionStateObserver::
45 PendingUserSessionsRestoreFinished() { 49 PendingUserSessionsRestoreFinished() {
46 } 50 }
47 51
48 UserManager::UserSessionStateObserver::~UserSessionStateObserver() { 52 UserManager::UserSessionStateObserver::~UserSessionStateObserver() {
49 } 53 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ScopedTestUserManager::ScopedTestUserManager() { 109 ScopedTestUserManager::ScopedTestUserManager() {
106 UserManager::Initialize(); 110 UserManager::Initialize();
107 } 111 }
108 112
109 ScopedTestUserManager::~ScopedTestUserManager() { 113 ScopedTestUserManager::~ScopedTestUserManager() {
110 UserManager::Get()->Shutdown(); 114 UserManager::Get()->Shutdown();
111 UserManager::Destroy(); 115 UserManager::Destroy();
112 } 116 }
113 117
114 } // namespace chromeos 118 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698