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