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 "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" | 9 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // Register the preferences related to cloud-based user policy. | 48 // Register the preferences related to cloud-based user policy. |
49 virtual void RegisterProfilePrefs( | 49 virtual void RegisterProfilePrefs( |
50 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; | 50 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; |
51 | 51 |
52 private: | 52 private: |
53 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>; | 53 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>; |
54 | 54 |
55 UserPolicySigninServiceFactory(); | 55 UserPolicySigninServiceFactory(); |
56 virtual ~UserPolicySigninServiceFactory(); | 56 virtual ~UserPolicySigninServiceFactory(); |
57 | 57 |
58 DeviceManagementService* device_management_service_; | |
59 | |
60 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); | 58 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); |
61 }; | 59 }; |
62 | 60 |
63 } // namespace policy | 61 } // namespace policy |
64 | 62 |
65 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ | 63 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ |
OLD | NEW |