OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_MOCK_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_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" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/chromeos/login/mock_user_image_manager.h" | |
13 #include "chrome/browser/chromeos/login/user.h" | |
14 #include "chrome/browser/chromeos/login/user_flow.h" | 12 #include "chrome/browser/chromeos/login/user_flow.h" |
15 #include "chrome/browser/chromeos/login/user_image.h" | 13 #include "chrome/browser/chromeos/login/users/avatar/mock_user_image_manager.h" |
16 #include "chrome/browser/chromeos/login/user_manager.h" | 14 #include "chrome/browser/chromeos/login/users/avatar/user_image.h" |
| 15 #include "chrome/browser/chromeos/login/users/user.h" |
| 16 #include "chrome/browser/chromeos/login/users/user_manager.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 class FakeSupervisedUserManager; | 21 class FakeSupervisedUserManager; |
22 | 22 |
23 class MockUserManager : public UserManager { | 23 class MockUserManager : public UserManager { |
24 public: | 24 public: |
25 MockUserManager(); | 25 MockUserManager(); |
26 virtual ~MockUserManager(); | 26 virtual ~MockUserManager(); |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 void ClearUserList(); | 127 void ClearUserList(); |
128 | 128 |
129 scoped_ptr<UserFlow> user_flow_; | 129 scoped_ptr<UserFlow> user_flow_; |
130 scoped_ptr<MockUserImageManager> user_image_manager_; | 130 scoped_ptr<MockUserImageManager> user_image_manager_; |
131 scoped_ptr<FakeSupervisedUserManager> supervised_user_manager_; | 131 scoped_ptr<FakeSupervisedUserManager> supervised_user_manager_; |
132 UserList user_list_; | 132 UserList user_list_; |
133 }; | 133 }; |
134 | 134 |
135 } // namespace chromeos | 135 } // namespace chromeos |
136 | 136 |
137 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_USER_MANAGER_H_ | 137 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MOCK_USER_MANAGER_H_ |
OLD | NEW |