Index: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h |
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h |
index 8c1d92bcdbeb73405975805f1ba430917eef2920..83ab02c0c7ed79e2e0de0d261a3558db736f3a0f 100644 |
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h |
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h |
@@ -26,6 +26,7 @@ namespace policy { |
class AppPackUpdater; |
class DeviceCloudPolicyManagerChromeOS; |
class DeviceLocalAccountPolicyService; |
+class DeviceManagementService; |
class EnterpriseInstallAttributes; |
class NetworkConfigurationUpdater; |
class ProxyPolicyProvider; |
@@ -85,6 +86,11 @@ class BrowserPolicyConnectorChromeOS : public ChromeBrowserPolicyConnector { |
// delegate, if there is one. |
void SetUserPolicyDelegate(ConfigurationPolicyProvider* user_policy_provider); |
+ // Returns the device management service for consumer management. |
+ DeviceManagementService* consumer_device_management_service() const { |
+ return consumer_device_management_service_.get(); |
+ } |
+ |
// Sets the install attributes for testing. Must be called before the browser |
// is created. Takes ownership of |attributes|. |
static void SetInstallAttributesForTesting( |
@@ -114,6 +120,8 @@ class BrowserPolicyConnectorChromeOS : public ChromeBrowserPolicyConnector { |
scoped_ptr<AppPackUpdater> app_pack_updater_; |
scoped_ptr<NetworkConfigurationUpdater> network_configuration_updater_; |
+ scoped_ptr<DeviceManagementService> consumer_device_management_service_; |
+ |
base::WeakPtrFactory<BrowserPolicyConnectorChromeOS> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(BrowserPolicyConnectorChromeOS); |