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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_user_manager.cc

Issue 385633002: UserManager refactoring: move active user session restoration to UserSessionManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/users/fake_user_manager.h" 5 #include "chrome/browser/chromeos/login/users/fake_user_manager.h"
6 6
7 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" 7 #include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h"
8 #include "chrome/browser/chromeos/profiles/profile_helper.h" 8 #include "chrome/browser/chromeos/profiles/profile_helper.h"
9 #include "components/user_manager/user_type.h" 9 #include "components/user_manager/user_type.h"
10 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 242
243 bool FakeUserManager::IsLoggedInAsStub() const { 243 bool FakeUserManager::IsLoggedInAsStub() const {
244 return false; 244 return false;
245 } 245 }
246 246
247 bool FakeUserManager::IsSessionStarted() const { 247 bool FakeUserManager::IsSessionStarted() const {
248 return false; 248 return false;
249 } 249 }
250 250
251 bool FakeUserManager::UserSessionsRestored() const {
252 return false;
253 }
254
255 bool FakeUserManager::IsUserNonCryptohomeDataEphemeral( 251 bool FakeUserManager::IsUserNonCryptohomeDataEphemeral(
256 const std::string& email) const { 252 const std::string& email) const {
257 return false; 253 return false;
258 } 254 }
259 255
260 UserFlow* FakeUserManager::GetCurrentUserFlow() const { 256 UserFlow* FakeUserManager::GetCurrentUserFlow() const {
261 return NULL; 257 return NULL;
262 } 258 }
263 259
264 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const { 260 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const {
265 return NULL; 261 return NULL;
266 } 262 }
267 263
268 bool FakeUserManager::AreLocallyManagedUsersAllowed() const { 264 bool FakeUserManager::AreLocallyManagedUsersAllowed() const {
269 return true; 265 return true;
270 } 266 }
271 267
272 } // namespace chromeos 268 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/users/fake_user_manager.h ('k') | chrome/browser/chromeos/login/users/mock_user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698