diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 15:22:09 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-14 15:22:09 +0000 |
commit | 911807d9bccc8bbfba1fe8033bdc7b0adadb1484 (patch) | |
tree | 295e85549b7d8c48dc8051232824a84ff77b80c6 /chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h | |
parent | 614a72e27ebbb8445a354edfc12f170198e869f1 (diff) | |
download | chromium_src-911807d9bccc8bbfba1fe8033bdc7b0adadb1484.zip chromium_src-911807d9bccc8bbfba1fe8033bdc7b0adadb1484.tar.gz chromium_src-911807d9bccc8bbfba1fe8033bdc7b0adadb1484.tar.bz2 |
Retrieve enterprise device state in OOBE.
This extends AutoEnrollmentClient to be able to retrieve server-backed
device state from the cloud during OOBE. This will allow the device to
restore enrollment state after recovery.
BUG=chromium:351663
TEST=Existing unit tests.
R=joaodasilva@chromium.org
Review URL: https://codereview.chromium.org/197043002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h')
-rw-r--r-- | chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h index f5f36ed..970587a 100644 --- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h +++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h @@ -98,6 +98,9 @@ class DeviceCloudPolicyManagerChromeOS : public CloudPolicyManager { // Returns the machine model, or an empty string if not available. static std::string GetMachineModel(); + // Returns the stable device state key. + static std::string GetDeviceStateKey(); + // Returns the robot 'email address' associated with the device robot // account (sometimes called a service account) associated with this device // during enterprise enrollment. @@ -118,6 +121,9 @@ class DeviceCloudPolicyManagerChromeOS : public CloudPolicyManager { // Initializes requisition settings at OOBE with values from VPD. void InitalizeRequisition(); + // Gets the device restore mode as stored in |local_state_|. + std::string GetRestoreMode() const; + // Points to the same object as the base CloudPolicyManager::store(), but with // actual device policy specific type. scoped_ptr<DeviceCloudPolicyStoreChromeOS> device_store_; |