summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
diff options
context:
space:
mode:
authordavidroche@chromium.org <davidroche@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-22 13:38:22 +0000
committerdavidroche@chromium.org <davidroche@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-22 13:38:22 +0000
commitf29f42b92d789486366cdcd0e26ff9fefb9f3ce6 (patch)
tree89f81fc034f7cd6cd016d913c1ce0b70365ec663 /chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
parentd95cbbf84a22d12d599cf3573cc13141748fcc26 (diff)
downloadchromium_src-f29f42b92d789486366cdcd0e26ff9fefb9f3ce6.zip
chromium_src-f29f42b92d789486366cdcd0e26ff9fefb9f3ce6.tar.gz
chromium_src-f29f42b92d789486366cdcd0e26ff9fefb9f3ce6.tar.bz2
Device robot refresh token integrity validation.
Before using the robot account refresh token stored in an enterprise device's Local State, verify that the token is owned by the service account id found in the device policy. BUG=245121 Review URL: https://chromiumcodereview.appspot.com/17109006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208019 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.h5
1 files changed, 5 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 005028d..e10a54a 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h
@@ -88,6 +88,11 @@ class DeviceCloudPolicyManagerChromeOS : public CloudPolicyManager {
// Returns the machine model, or an empty string if not available.
static std::string GetMachineModel();
+ // Returns the robot 'email address' associated with the device robot
+ // account (sometimes called a service account) associated with this device
+ // during enterprise enrollment.
+ std::string GetRobotAccountId();
+
private:
// Creates a new CloudPolicyClient.
scoped_ptr<CloudPolicyClient> CreateClient();