| 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 CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 MOCK_METHOD1(LoadDeviceLocalAccounts, void(std::set<AccountId>*)); | 101 MOCK_METHOD1(LoadDeviceLocalAccounts, void(std::set<AccountId>*)); |
| 102 MOCK_METHOD0(PerformPreUserListLoadingActions, void(void)); | 102 MOCK_METHOD0(PerformPreUserListLoadingActions, void(void)); |
| 103 MOCK_METHOD0(PerformPostUserListLoadingActions, void(void)); | 103 MOCK_METHOD0(PerformPostUserListLoadingActions, void(void)); |
| 104 MOCK_METHOD1(PerformPostUserLoggedInActions, void(bool)); | 104 MOCK_METHOD1(PerformPostUserLoggedInActions, void(bool)); |
| 105 MOCK_CONST_METHOD1(IsDemoApp, bool(const AccountId&)); | 105 MOCK_CONST_METHOD1(IsDemoApp, bool(const AccountId&)); |
| 106 MOCK_CONST_METHOD1(IsKioskApp, bool(const AccountId&)); | 106 MOCK_CONST_METHOD1(IsKioskApp, bool(const AccountId&)); |
| 107 MOCK_CONST_METHOD1(IsDeviceLocalAccountMarkedForRemoval, | 107 MOCK_CONST_METHOD1(IsDeviceLocalAccountMarkedForRemoval, |
| 108 bool(const AccountId&)); | 108 bool(const AccountId&)); |
| 109 MOCK_METHOD0(DemoAccountLoggedIn, void(void)); | 109 MOCK_METHOD0(DemoAccountLoggedIn, void(void)); |
| 110 MOCK_METHOD1(KioskAppLoggedIn, void(user_manager::User*)); | 110 MOCK_METHOD1(KioskAppLoggedIn, void(user_manager::User*)); |
| 111 MOCK_METHOD1(ArcKioskAppLoggedIn, void(user_manager::User*)); |
| 111 MOCK_METHOD1(PublicAccountUserLoggedIn, void(user_manager::User*)); | 112 MOCK_METHOD1(PublicAccountUserLoggedIn, void(user_manager::User*)); |
| 112 MOCK_METHOD1(SupervisedUserLoggedIn, void(const AccountId&)); | 113 MOCK_METHOD1(SupervisedUserLoggedIn, void(const AccountId&)); |
| 113 MOCK_METHOD1(OnUserRemoved, void(const AccountId&)); | 114 MOCK_METHOD1(OnUserRemoved, void(const AccountId&)); |
| 114 MOCK_CONST_METHOD1(GetResourceImagekiaNamed, const gfx::ImageSkia&(int)); | 115 MOCK_CONST_METHOD1(GetResourceImagekiaNamed, const gfx::ImageSkia&(int)); |
| 115 MOCK_CONST_METHOD1(GetResourceStringUTF16, base::string16(int)); | 116 MOCK_CONST_METHOD1(GetResourceStringUTF16, base::string16(int)); |
| 116 MOCK_CONST_METHOD3(ScheduleResolveLocale, | 117 MOCK_CONST_METHOD3(ScheduleResolveLocale, |
| 117 void(const std::string&, | 118 void(const std::string&, |
| 118 const base::Closure&, | 119 const base::Closure&, |
| 119 std::string*)); | 120 std::string*)); |
| 120 MOCK_CONST_METHOD1(IsValidDefaultUserImageId, bool(int)); | 121 MOCK_CONST_METHOD1(IsValidDefaultUserImageId, bool(int)); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 user_manager::UserList user_list_; | 177 user_manager::UserList user_list_; |
| 177 // TODO (alemate): remove temporary_owner_account_id_ as soon as | 178 // TODO (alemate): remove temporary_owner_account_id_ as soon as |
| 178 // User::GetAccountId will | 179 // User::GetAccountId will |
| 179 // return constant reference. crbug.com/546863 | 180 // return constant reference. crbug.com/546863 |
| 180 mutable AccountId temporary_owner_account_id_ = EmptyAccountId(); | 181 mutable AccountId temporary_owner_account_id_ = EmptyAccountId(); |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 } // namespace chromeos | 184 } // namespace chromeos |
| 184 | 185 |
| 185 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ | 186 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
| OLD | NEW |