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 "chrome/grit/theme_resources.h" | 9 #include "chrome/grit/theme_resources.h" |
10 #include "components/user_manager/user_image/user_image.h" | 10 #include "components/user_manager/user_image/user_image.h" |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 } | 297 } |
298 | 298 |
299 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const { | 299 UserFlow* FakeUserManager::GetUserFlow(const std::string& email) const { |
300 return NULL; | 300 return NULL; |
301 } | 301 } |
302 | 302 |
303 bool FakeUserManager::AreSupervisedUsersAllowed() const { | 303 bool FakeUserManager::AreSupervisedUsersAllowed() const { |
304 return true; | 304 return true; |
305 } | 305 } |
306 | 306 |
| 307 bool FakeUserManager::AreEphemeralUsersEnabled() const { |
| 308 return false; |
| 309 } |
| 310 |
| 311 const std::string& FakeUserManager::GetApplicationLocale() const { |
| 312 static const std::string default_locale("en-US"); |
| 313 return default_locale; |
| 314 } |
| 315 |
| 316 PrefService* FakeUserManager::GetLocalState() const { |
| 317 return NULL; |
| 318 } |
| 319 |
| 320 bool FakeUserManager::IsEnterpriseManaged() const { |
| 321 return false; |
| 322 } |
| 323 |
| 324 bool FakeUserManager::IsDemoApp(const std::string& user_id) const { |
| 325 return false; |
| 326 } |
| 327 |
| 328 bool FakeUserManager::IsKioskApp(const std::string& user_id) const { |
| 329 return false; |
| 330 } |
| 331 |
| 332 bool FakeUserManager::IsPublicAccountMarkedForRemoval( |
| 333 const std::string& user_id) const { |
| 334 return false; |
| 335 } |
| 336 |
307 } // namespace chromeos | 337 } // namespace chromeos |
OLD | NEW |