| 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 #ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 6 #define COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool HasBrowserRestarted() const override; | 57 bool HasBrowserRestarted() const override; |
| 58 | 58 |
| 59 // Not implemented. | 59 // Not implemented. |
| 60 void UpdateUserAccountData(const AccountId& account_id, | 60 void UpdateUserAccountData(const AccountId& account_id, |
| 61 const UserAccountData& account_data) override {} | 61 const UserAccountData& account_data) override {} |
| 62 void Shutdown() override {} | 62 void Shutdown() override {} |
| 63 const user_manager::UserList& GetLRULoggedInUsers() const override; | 63 const user_manager::UserList& GetLRULoggedInUsers() const override; |
| 64 user_manager::UserList GetUnlockUsers() const override; | 64 user_manager::UserList GetUnlockUsers() const override; |
| 65 const AccountId& GetOwnerAccountId() const override; | 65 const AccountId& GetOwnerAccountId() const override; |
| 66 void OnSessionStarted() override {} | 66 void OnSessionStarted() override {} |
| 67 void OnSessionInitialized(User* user) override; |
| 67 void RemoveUser(const AccountId& account_id, | 68 void RemoveUser(const AccountId& account_id, |
| 68 user_manager::RemoveUserDelegate* delegate) override {} | 69 user_manager::RemoveUserDelegate* delegate) override {} |
| 69 void RemoveUserFromList(const AccountId& account_id) override; | 70 void RemoveUserFromList(const AccountId& account_id) override; |
| 70 bool IsKnownUser(const AccountId& account_id) const override; | 71 bool IsKnownUser(const AccountId& account_id) const override; |
| 71 const user_manager::User* FindUser( | 72 const user_manager::User* FindUser( |
| 72 const AccountId& account_id) const override; | 73 const AccountId& account_id) const override; |
| 73 user_manager::User* FindUserAndModify(const AccountId& account_id) override; | 74 user_manager::User* FindUserAndModify(const AccountId& account_id) override; |
| 74 const user_manager::User* GetPrimaryUser() const override; | 75 const user_manager::User* GetPrimaryUser() const override; |
| 75 void SaveUserOAuthStatus( | 76 void SaveUserOAuthStatus( |
| 76 const AccountId& account_id, | 77 const AccountId& account_id, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 156 |
| 156 // stub. Always empty. | 157 // stub. Always empty. |
| 157 gfx::ImageSkia empty_image_; | 158 gfx::ImageSkia empty_image_; |
| 158 | 159 |
| 159 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); | 160 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace user_manager | 163 } // namespace user_manager |
| 163 | 164 |
| 164 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ | 165 #endif // COMPONENTS_USER_MANAGER_FAKE_USER_MANAGER_H_ |
| OLD | NEW |