namespace policy {
class AppPackUpdater;
+class ConsumerEnrollmentHandler;
class ConsumerManagementService;
class DeviceCloudPolicyInitializer;
class DeviceCloudPolicyInvalidator;
virtual void Init(
PrefService* local_state,
- scoped_refptr<net::URLRequestContextGetter> request_context) OVERRIDE;
+ scoped_refptr<net::URLRequestContextGetter> request_context) override;
// Shutdown() is called from BrowserProcessImpl::StartTearDown() but |this|
// observes some objects that get destroyed earlier. PreShutdown() is called
// connection to these dependencies to be severed earlier.
void PreShutdown();
- virtual void Shutdown() OVERRIDE;
+ virtual void Shutdown() override;
// Returns true if this device is managed by an enterprise (as opposed to
// a local owner).
// delegate, if there is one.
void SetUserPolicyDelegate(ConfigurationPolicyProvider* user_policy_provider);
- // Returns the device management service for consumer management.
- DeviceManagementService* GetDeviceManagementServiceForConsumer() const {
- return consumer_device_management_service_.get();
- }
-
ConsumerManagementService* GetConsumerManagementService() const {
return consumer_management_service_.get();
}
// Components of the device cloud policy implementation.
scoped_ptr<ServerBackedStateKeysBroker> state_keys_broker_;
scoped_ptr<EnterpriseInstallAttributes> install_attributes_;
+ scoped_ptr<ConsumerManagementService> consumer_management_service_;
DeviceCloudPolicyManagerChromeOS* device_cloud_policy_manager_;
+ scoped_ptr<DeviceManagementService> consumer_device_management_service_;
+ scoped_ptr<ConsumerEnrollmentHandler> consumer_enrollment_handler_;
scoped_ptr<DeviceCloudPolicyInitializer> device_cloud_policy_initializer_;
scoped_ptr<DeviceLocalAccountPolicyService>
device_local_account_policy_service_;
scoped_ptr<AppPackUpdater> app_pack_updater_;
scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_;
- scoped_ptr<DeviceManagementService> consumer_device_management_service_;
- scoped_ptr<ConsumerManagementService> consumer_management_service_;
-
base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS);