| 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 "components/user_manager/fake_user_manager.h" | 5 #include "components/user_manager/fake_user_manager.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
| 10 #include "base/task_runner.h" | 10 #include "base/task_runner.h" |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 } | 270 } |
| 271 | 271 |
| 272 bool FakeUserManager::IsEnterpriseManaged() const { | 272 bool FakeUserManager::IsEnterpriseManaged() const { |
| 273 return false; | 273 return false; |
| 274 } | 274 } |
| 275 | 275 |
| 276 bool FakeUserManager::IsDemoApp(const AccountId& account_id) const { | 276 bool FakeUserManager::IsDemoApp(const AccountId& account_id) const { |
| 277 return false; | 277 return false; |
| 278 } | 278 } |
| 279 | 279 |
| 280 bool FakeUserManager::IsKioskApp(const AccountId& account_id) const { | 280 bool FakeUserManager::IsDeviceLocalAccountMarkedForRemoval( |
| 281 return false; | |
| 282 } | |
| 283 | |
| 284 bool FakeUserManager::IsPublicAccountMarkedForRemoval( | |
| 285 const AccountId& account_id) const { | 281 const AccountId& account_id) const { |
| 286 return false; | 282 return false; |
| 287 } | 283 } |
| 288 | 284 |
| 289 void FakeUserManager::UpdateLoginState(const user_manager::User* active_user, | 285 void FakeUserManager::UpdateLoginState(const user_manager::User* active_user, |
| 290 const user_manager::User* primary_user, | 286 const user_manager::User* primary_user, |
| 291 bool is_current_user_owner) const {} | 287 bool is_current_user_owner) const {} |
| 292 | 288 |
| 293 bool FakeUserManager::GetPlatformKnownUserId(const std::string& user_email, | 289 bool FakeUserManager::GetPlatformKnownUserId(const std::string& user_email, |
| 294 const std::string& gaia_id, | 290 const std::string& gaia_id, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 NOTIMPLEMENTED(); | 348 NOTIMPLEMENTED(); |
| 353 return; | 349 return; |
| 354 } | 350 } |
| 355 | 351 |
| 356 bool FakeUserManager::IsValidDefaultUserImageId(int image_index) const { | 352 bool FakeUserManager::IsValidDefaultUserImageId(int image_index) const { |
| 357 NOTIMPLEMENTED(); | 353 NOTIMPLEMENTED(); |
| 358 return false; | 354 return false; |
| 359 } | 355 } |
| 360 | 356 |
| 361 } // namespace user_manager | 357 } // namespace user_manager |
| OLD | NEW |