Chromium Code Reviews| 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_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/chromeos/login/users/affiliation.h" | 15 #include "chrome/browser/chromeos/login/users/affiliation.h" |
| 16 #include "chrome/browser/chromeos/policy/bluetooth_policy_handler.h" | |
|
bartfab (slow)
2016/04/18 13:43:44
Nit: Forward-declare |chromeos::BluetoothPolicyHan
Ivan Šandrk
2016/04/18 15:09:18
Done.
| |
| 16 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 17 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
| 17 #include "chrome/browser/policy/chrome_browser_policy_connector.h" | 18 #include "chrome/browser/policy/chrome_browser_policy_connector.h" |
| 18 #include "components/policy/core/common/cloud/cloud_policy_constants.h" | 19 #include "components/policy/core/common/cloud/cloud_policy_constants.h" |
| 19 | 20 |
| 20 class PrefRegistrySimple; | 21 class PrefRegistrySimple; |
| 21 class PrefService; | 22 class PrefService; |
| 22 | 23 |
| 23 namespace net { | 24 namespace net { |
| 24 class URLRequestContextGetter; | 25 class URLRequestContextGetter; |
| 25 } | 26 } |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 166 std::unique_ptr<DeviceManagementService> consumer_device_management_service_; | 167 std::unique_ptr<DeviceManagementService> consumer_device_management_service_; |
| 167 std::unique_ptr<DeviceCloudPolicyInitializer> | 168 std::unique_ptr<DeviceCloudPolicyInitializer> |
| 168 device_cloud_policy_initializer_; | 169 device_cloud_policy_initializer_; |
| 169 std::unique_ptr<DeviceLocalAccountPolicyService> | 170 std::unique_ptr<DeviceLocalAccountPolicyService> |
| 170 device_local_account_policy_service_; | 171 device_local_account_policy_service_; |
| 171 std::unique_ptr<AffiliatedCloudPolicyInvalidator> | 172 std::unique_ptr<AffiliatedCloudPolicyInvalidator> |
| 172 device_cloud_policy_invalidator_; | 173 device_cloud_policy_invalidator_; |
| 173 std::unique_ptr<AffiliatedRemoteCommandsInvalidator> | 174 std::unique_ptr<AffiliatedRemoteCommandsInvalidator> |
| 174 device_remote_commands_invalidator_; | 175 device_remote_commands_invalidator_; |
| 175 | 176 |
| 177 std::unique_ptr<chromeos::BluetoothPolicyHandler> bluetooth_policy_handler_; | |
| 178 | |
| 176 // This policy provider is used on Chrome OS to feed user policy into the | 179 // This policy provider is used on Chrome OS to feed user policy into the |
| 177 // global PolicyService instance. This works by installing the cloud policy | 180 // global PolicyService instance. This works by installing the cloud policy |
| 178 // provider of the primary profile as the delegate of the ProxyPolicyProvider, | 181 // provider of the primary profile as the delegate of the ProxyPolicyProvider, |
| 179 // after login. | 182 // after login. |
| 180 // The provider is owned by the base class; this field is just a typed weak | 183 // The provider is owned by the base class; this field is just a typed weak |
| 181 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). | 184 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). |
| 182 ProxyPolicyProvider* global_user_cloud_policy_provider_; | 185 ProxyPolicyProvider* global_user_cloud_policy_provider_; |
| 183 | 186 |
| 184 std::unique_ptr<NetworkConfigurationUpdater> network_configuration_updater_; | 187 std::unique_ptr<NetworkConfigurationUpdater> network_configuration_updater_; |
| 185 | 188 |
| 186 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; | 189 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; |
| 187 | 190 |
| 188 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); | 191 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); |
| 189 }; | 192 }; |
| 190 | 193 |
| 191 } // namespace policy | 194 } // namespace policy |
| 192 | 195 |
| 193 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ | 196 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ |
| OLD | NEW |