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_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UTILI
TY_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UTILI
TY_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UTILI
TY_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UTILI
TY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
14 #include "base/prefs/pref_change_registrar.h" | 13 #include "base/prefs/pref_change_registrar.h" |
15 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
16 #include "base/values.h" | 15 #include "base/values.h" |
17 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service.h" | 16 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service.h" |
18 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_obs
erver.h" | 17 #include "chrome/browser/supervised_user/legacy/supervised_user_sync_service_obs
erver.h" |
19 #include "chrome/browser/supervised_user/supervised_users.h" | 18 #include "chrome/browser/supervised_user/supervised_users.h" |
20 #include "components/keyed_service/core/keyed_service.h" | 19 #include "components/keyed_service/core/keyed_service.h" |
21 | 20 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 class ScopedTestingSupervisedUserRegistrationUtility { | 99 class ScopedTestingSupervisedUserRegistrationUtility { |
101 public: | 100 public: |
102 // Delegates ownership of the |instance| to SupervisedUserRegistrationUtility. | 101 // Delegates ownership of the |instance| to SupervisedUserRegistrationUtility. |
103 ScopedTestingSupervisedUserRegistrationUtility( | 102 ScopedTestingSupervisedUserRegistrationUtility( |
104 SupervisedUserRegistrationUtility* instance); | 103 SupervisedUserRegistrationUtility* instance); |
105 | 104 |
106 ~ScopedTestingSupervisedUserRegistrationUtility(); | 105 ~ScopedTestingSupervisedUserRegistrationUtility(); |
107 }; | 106 }; |
108 | 107 |
109 #endif // CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UT
ILITY_H_ | 108 #endif // CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_REGISTRATION_UT
ILITY_H_ |
OLD | NEW |