| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_chrome_user_manager.h" | 5 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
| 10 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h" | 10 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 user->set_is_active(false); | 153 user->set_is_active(false); |
| 154 } | 154 } |
| 155 } | 155 } |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 | 158 |
| 159 const AccountId& FakeChromeUserManager::GetOwnerAccountId() const { | 159 const AccountId& FakeChromeUserManager::GetOwnerAccountId() const { |
| 160 return owner_account_id_; | 160 return owner_account_id_; |
| 161 } | 161 } |
| 162 | 162 |
| 163 void FakeChromeUserManager::SessionStarted() { | 163 void FakeChromeUserManager::OnSessionStarted() {} |
| 164 } | |
| 165 | 164 |
| 166 void FakeChromeUserManager::RemoveUser( | 165 void FakeChromeUserManager::RemoveUser( |
| 167 const AccountId& account_id, | 166 const AccountId& account_id, |
| 168 user_manager::RemoveUserDelegate* delegate) {} | 167 user_manager::RemoveUserDelegate* delegate) {} |
| 169 | 168 |
| 170 void FakeChromeUserManager::RemoveUserFromList(const AccountId& account_id) { | 169 void FakeChromeUserManager::RemoveUserFromList(const AccountId& account_id) { |
| 171 WallpaperManager::Get()->RemoveUserWallpaperInfo(account_id); | 170 WallpaperManager::Get()->RemoveUserWallpaperInfo(account_id); |
| 172 chromeos::ProfileHelper::Get()->RemoveUserFromListForTesting(account_id); | 171 chromeos::ProfileHelper::Get()->RemoveUserFromListForTesting(account_id); |
| 173 FakeUserManager::RemoveUserFromList(account_id); | 172 FakeUserManager::RemoveUserFromList(account_id); |
| 174 } | 173 } |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 NOTIMPLEMENTED(); | 280 NOTIMPLEMENTED(); |
| 282 return; | 281 return; |
| 283 } | 282 } |
| 284 | 283 |
| 285 bool FakeChromeUserManager::IsValidDefaultUserImageId(int image_index) const { | 284 bool FakeChromeUserManager::IsValidDefaultUserImageId(int image_index) const { |
| 286 NOTIMPLEMENTED(); | 285 NOTIMPLEMENTED(); |
| 287 return false; | 286 return false; |
| 288 } | 287 } |
| 289 | 288 |
| 290 } // namespace chromeos | 289 } // namespace chromeos |
| OLD | NEW |