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_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ |
7 | 7 |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "chrome/browser/profiles/profile_keyed_service_factory.h" | 9 #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
10 | 10 |
| 11 class Profile; |
| 12 |
11 namespace user_prefs { | 13 namespace user_prefs { |
12 class PrefRegistrySyncable; | 14 class PrefRegistrySyncable; |
13 } | 15 } |
14 | 16 |
15 namespace policy { | 17 namespace policy { |
16 | 18 |
17 class UserPolicySigninService; | 19 class UserPolicySigninService; |
18 | 20 |
19 // Singleton that owns all UserPolicySigninServices and creates/deletes them as | 21 // Singleton that owns all UserPolicySigninServices and creates/deletes them as |
20 // new Profiles are created/shutdown. | 22 // new Profiles are created/shutdown. |
(...skipping 23 matching lines...) Expand all Loading... |
44 | 46 |
45 UserPolicySigninServiceFactory(); | 47 UserPolicySigninServiceFactory(); |
46 virtual ~UserPolicySigninServiceFactory(); | 48 virtual ~UserPolicySigninServiceFactory(); |
47 | 49 |
48 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); | 50 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); |
49 }; | 51 }; |
50 | 52 |
51 } // namespace policy | 53 } // namespace policy |
52 | 54 |
53 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ | 55 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ |
OLD | NEW |