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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 28 class ConsumerManagementService; | 28 class ConsumerManagementService; |
| 29 class DeviceCloudPolicyInitializer; | 29 class DeviceCloudPolicyInitializer; |
| 30 class AffiliatedCloudPolicyInvalidator; | 30 class AffiliatedCloudPolicyInvalidator; |
| 31 class DeviceLocalAccountPolicyService; | 31 class DeviceLocalAccountPolicyService; |
| 32 class DeviceManagementService; | 32 class DeviceManagementService; |
| 33 struct EnrollmentConfig; | 33 struct EnrollmentConfig; |
| 34 class EnterpriseInstallAttributes; | 34 class EnterpriseInstallAttributes; |
| 35 class NetworkConfigurationUpdater; | 35 class NetworkConfigurationUpdater; |
| 36 class ProxyPolicyProvider; | 36 class ProxyPolicyProvider; |
| 37 class ServerBackedStateKeysBroker; | 37 class ServerBackedStateKeysBroker; |
| 38 class AffiliatedRemoteCommandsInvalidator; | |
|
bartfab (slow)
2015/05/15 13:28:07
Please keep this list alphabetic (as best as you c
binjin
2015/05/15 14:50:38
Done.
| |
| 38 | 39 |
| 39 // Extends ChromeBrowserPolicyConnector with the setup specific to ChromeOS. | 40 // Extends ChromeBrowserPolicyConnector with the setup specific to ChromeOS. |
| 40 class BrowserPolicyConnectorChromeOS | 41 class BrowserPolicyConnectorChromeOS |
| 41 : public ChromeBrowserPolicyConnector, | 42 : public ChromeBrowserPolicyConnector, |
| 42 public DeviceCloudPolicyManagerChromeOS::Observer { | 43 public DeviceCloudPolicyManagerChromeOS::Observer { |
| 43 public: | 44 public: |
| 44 BrowserPolicyConnectorChromeOS(); | 45 BrowserPolicyConnectorChromeOS(); |
| 45 | 46 |
| 46 ~BrowserPolicyConnectorChromeOS() override; | 47 ~BrowserPolicyConnectorChromeOS() override; |
| 47 | 48 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 157 scoped_ptr<AffiliatedInvalidationServiceProvider> | 158 scoped_ptr<AffiliatedInvalidationServiceProvider> |
| 158 affiliated_invalidation_service_provider_; | 159 affiliated_invalidation_service_provider_; |
| 159 scoped_ptr<ConsumerManagementService> consumer_management_service_; | 160 scoped_ptr<ConsumerManagementService> consumer_management_service_; |
| 160 DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager_; | 161 DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager_; |
| 161 PrefService* local_state_; | 162 PrefService* local_state_; |
| 162 scoped_ptr<DeviceManagementService> consumer_device_management_service_; | 163 scoped_ptr<DeviceManagementService> consumer_device_management_service_; |
| 163 scoped_ptr<DeviceCloudPolicyInitializer> device_cloud_policy_initializer_; | 164 scoped_ptr<DeviceCloudPolicyInitializer> device_cloud_policy_initializer_; |
| 164 scoped_ptr<DeviceLocalAccountPolicyService> | 165 scoped_ptr<DeviceLocalAccountPolicyService> |
| 165 device_local_account_policy_service_; | 166 device_local_account_policy_service_; |
| 166 scoped_ptr<AffiliatedCloudPolicyInvalidator> device_cloud_policy_invalidator_; | 167 scoped_ptr<AffiliatedCloudPolicyInvalidator> device_cloud_policy_invalidator_; |
| 168 scoped_ptr<AffiliatedRemoteCommandsInvalidator> | |
| 169 device_remote_commands_invalidator_; | |
| 167 | 170 |
| 168 // This policy provider is used on Chrome OS to feed user policy into the | 171 // This policy provider is used on Chrome OS to feed user policy into the |
| 169 // global PolicyService instance. This works by installing the cloud policy | 172 // global PolicyService instance. This works by installing the cloud policy |
| 170 // provider of the primary profile as the delegate of the ProxyPolicyProvider, | 173 // provider of the primary profile as the delegate of the ProxyPolicyProvider, |
| 171 // after login. | 174 // after login. |
| 172 // The provider is owned by the base class; this field is just a typed weak | 175 // The provider is owned by the base class; this field is just a typed weak |
| 173 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). | 176 // pointer to get to the ProxyPolicyProvider at SetUserPolicyDelegate(). |
| 174 ProxyPolicyProvider* global_user_cloud_policy_provider_; | 177 ProxyPolicyProvider* global_user_cloud_policy_provider_; |
| 175 | 178 |
| 176 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; | 179 scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; |
| 177 | 180 |
| 178 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; | 181 base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; |
| 179 | 182 |
| 180 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); | 183 DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); |
| 181 }; | 184 }; |
| 182 | 185 |
| 183 } // namespace policy | 186 } // namespace policy |
| 184 | 187 |
| 185 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ | 188 #endif // CHROME_BROWSER_CHROMEOS_POLICY_BROWSER_POLICY_CONNECTOR_CHROMEOS_H_ |
| OLD | NEW |