Index: chrome/browser/chromeos/policy/enrollment_handler_chromeos.h |
diff --git a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h |
index 026f544cba5826ab1de13f30e7ac2e0bf97f0a7d..f0bd436864b4854cf9680a49eded751cf5b81cc8 100644 |
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h |
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h |
@@ -27,6 +27,7 @@ class SequencedTaskRunner; |
namespace chromeos { |
class DeviceSettingsService; |
+class OwnerSettingsServiceChromeOS; |
} |
namespace policy { |
@@ -65,6 +66,7 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer, |
EnterpriseInstallAttributes* install_attributes, |
ServerBackedStateKeysBroker* state_keys_broker, |
chromeos::DeviceSettingsService* device_settings_service, |
+ chromeos::OwnerSettingsServiceChromeOS* owner_settings_service, |
scoped_ptr<CloudPolicyClient> client, |
scoped_refptr<base::SequencedTaskRunner> background_task_runner, |
const std::string& auth_token, |
@@ -136,9 +138,9 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer, |
// enrollment. |
void StartLockDevice(); |
- // Checks the status after SetManagementSettings() is done. Proceeds to |
- // robot auth code storing if successful. |
- void HandleSetManagementSettingsDone(); |
+ // Called after SetManagementSettings() is done. Proceeds to robot |
+ // auth code storing if successful. |
+ void HandleSetManagementSettingsDone(bool success); |
// Handle callback from InstallAttributes::LockDevice() and retry on failure. |
void HandleLockDeviceResult( |
@@ -160,6 +162,7 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer, |
EnterpriseInstallAttributes* install_attributes_; |
ServerBackedStateKeysBroker* state_keys_broker_; |
chromeos::DeviceSettingsService* device_settings_service_; |
+ chromeos::OwnerSettingsServiceChromeOS* owner_settings_service_; |
scoped_ptr<CloudPolicyClient> client_; |
scoped_refptr<base::SequencedTaskRunner> background_task_runner_; |
scoped_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_; |