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

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

Issue 23678007: OAuth2LoginManager+MergeSessionThrottle hardening, multi-profle support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/login/user_manager_impl.h" 8 #include "chrome/browser/chromeos/login/user_manager_impl.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 13 matching lines...) Expand all
24 // static 24 // static
25 const char UserManager::kRetailModeUserName[] = "demouser@"; 25 const char UserManager::kRetailModeUserName[] = "demouser@";
26 static UserManager* g_user_manager = NULL; 26 static UserManager* g_user_manager = NULL;
27 27
28 UserManager::Observer::~Observer() { 28 UserManager::Observer::~Observer() {
29 } 29 }
30 30
31 void UserManager::Observer::LocalStateChanged(UserManager* user_manager) { 31 void UserManager::Observer::LocalStateChanged(UserManager* user_manager) {
32 } 32 }
33 33
34 void UserManager::Observer::MergeSessionStateChanged(MergeSessionState state) {
35 }
36
37 void UserManager::UserSessionStateObserver::ActiveUserChanged( 34 void UserManager::UserSessionStateObserver::ActiveUserChanged(
38 const User* active_user) { 35 const User* active_user) {
39 } 36 }
40 37
41 void UserManager::UserSessionStateObserver::ActiveUserHashChanged( 38 void UserManager::UserSessionStateObserver::ActiveUserHashChanged(
42 const std::string& hash) { 39 const std::string& hash) {
43 } 40 }
44 41
45 void UserManager::UserSessionStateObserver:: 42 void UserManager::UserSessionStateObserver::
46 PendingUserSessionsRestoreFinished() { 43 PendingUserSessionsRestoreFinished() {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ScopedTestUserManager::ScopedTestUserManager() { 92 ScopedTestUserManager::ScopedTestUserManager() {
96 UserManager::Initialize(); 93 UserManager::Initialize();
97 } 94 }
98 95
99 ScopedTestUserManager::~ScopedTestUserManager() { 96 ScopedTestUserManager::~ScopedTestUserManager() {
100 UserManager::Get()->Shutdown(); 97 UserManager::Get()->Shutdown();
101 UserManager::Destroy(); 98 UserManager::Destroy();
102 } 99 }
103 100
104 } // namespace chromeos 101 } // 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