| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 171 |
| 171 std::unique_ptr<UserFlow> user_flow_; | 172 std::unique_ptr<UserFlow> user_flow_; |
| 172 std::unique_ptr<MockUserImageManager> user_image_manager_; | 173 std::unique_ptr<MockUserImageManager> user_image_manager_; |
| 173 std::unique_ptr<FakeSupervisedUserManager> supervised_user_manager_; | 174 std::unique_ptr<FakeSupervisedUserManager> supervised_user_manager_; |
| 174 user_manager::UserList user_list_; | 175 user_manager::UserList user_list_; |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 } // namespace chromeos | 178 } // namespace chromeos |
| 178 | 179 |
| 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ | 180 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
| OLD | NEW |