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