| 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_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 // CloudPolicyStore::Observer: | 106 // CloudPolicyStore::Observer: |
| 107 virtual void OnStoreLoaded(CloudPolicyStore* store) override; | 107 virtual void OnStoreLoaded(CloudPolicyStore* store) override; |
| 108 virtual void OnStoreError(CloudPolicyStore* store) override; | 108 virtual void OnStoreError(CloudPolicyStore* store) override; |
| 109 | 109 |
| 110 // ComponentCloudPolicyService::Delegate: | 110 // ComponentCloudPolicyService::Delegate: |
| 111 virtual void OnComponentCloudPolicyUpdated() override; | 111 virtual void OnComponentCloudPolicyUpdated() override; |
| 112 | 112 |
| 113 private: | 113 private: |
| 114 void CreateComponentCloudPolicyService( | 114 void CreateComponentCloudPolicyService( |
| 115 const scoped_refptr<net::URLRequestContextGetter>& request_context); | 115 const scoped_refptr<net::URLRequestContextGetter>& request_context, |
| 116 CloudPolicyClient* client); |
| 116 | 117 |
| 117 const std::string account_id_; | 118 const std::string account_id_; |
| 118 const std::string user_id_; | 119 const std::string user_id_; |
| 119 const base::FilePath component_policy_cache_path_; | 120 const base::FilePath component_policy_cache_path_; |
| 120 SchemaRegistry schema_registry_; | 121 SchemaRegistry schema_registry_; |
| 121 const scoped_ptr<DeviceLocalAccountPolicyStore> store_; | 122 const scoped_ptr<DeviceLocalAccountPolicyStore> store_; |
| 122 DeviceLocalAccountExtensionTracker extension_tracker_; | 123 DeviceLocalAccountExtensionTracker extension_tracker_; |
| 123 scoped_refptr<DeviceLocalAccountExternalDataManager> external_data_manager_; | 124 scoped_refptr<DeviceLocalAccountExternalDataManager> external_data_manager_; |
| 124 scoped_refptr<chromeos::DeviceLocalAccountExternalPolicyLoader> | 125 scoped_refptr<chromeos::DeviceLocalAccountExternalPolicyLoader> |
| 125 extension_loader_; | 126 extension_loader_; |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 base::FilePath component_policy_cache_root_; | 266 base::FilePath component_policy_cache_root_; |
| 266 | 267 |
| 267 base::WeakPtrFactory<DeviceLocalAccountPolicyService> weak_factory_; | 268 base::WeakPtrFactory<DeviceLocalAccountPolicyService> weak_factory_; |
| 268 | 269 |
| 269 DISALLOW_COPY_AND_ASSIGN(DeviceLocalAccountPolicyService); | 270 DISALLOW_COPY_AND_ASSIGN(DeviceLocalAccountPolicyService); |
| 270 }; | 271 }; |
| 271 | 272 |
| 272 } // namespace policy | 273 } // namespace policy |
| 273 | 274 |
| 274 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ | 275 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ |
| OLD | NEW |