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_FAKE_SUPERVISED_USER_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_SUPERVISED_USER_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_SUPERVISED_USER_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_SUPERVISED_USER_MANAGER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "chrome/browser/chromeos/login/users/supervised_user_manager.h" | 10 #include "chrome/browser/chromeos/login/users/supervised_user_manager.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 | 13 |
14 // Fake supervised user manager with a barebones implementation. | 14 // Fake supervised user manager with a barebones implementation. |
15 class FakeSupervisedUserManager : public SupervisedUserManager { | 15 class FakeSupervisedUserManager : public SupervisedUserManager { |
16 public: | 16 public: |
17 FakeSupervisedUserManager(); | 17 FakeSupervisedUserManager(); |
18 ~FakeSupervisedUserManager() override; | 18 ~FakeSupervisedUserManager() override; |
19 | 19 |
(...skipping 27 matching lines...) Expand all Loading... |
47 void ConfigureSyncWithToken(Profile* profile, | 47 void ConfigureSyncWithToken(Profile* profile, |
48 const std::string& token) override {} | 48 const std::string& token) override {} |
49 | 49 |
50 private: | 50 private: |
51 DISALLOW_COPY_AND_ASSIGN(FakeSupervisedUserManager); | 51 DISALLOW_COPY_AND_ASSIGN(FakeSupervisedUserManager); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace chromeos | 54 } // namespace chromeos |
55 | 55 |
56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_SUPERVISED_USER_MANAGER_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_SUPERVISED_USER_MANAGER_H_ |
OLD | NEW |