| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |