| Index: chrome/browser/policy/cloud_policy_client.h
|
| diff --git a/chrome/browser/policy/cloud_policy_client.h b/chrome/browser/policy/cloud_policy_client.h
|
| index 31bac36c47155f424cb9e73647ea94f44ab7ed2a..fdf929656903afe1807eb3691e54c4b27f950a1e 100644
|
| --- a/chrome/browser/policy/cloud_policy_client.h
|
| +++ b/chrome/browser/policy/cloud_policy_client.h
|
| @@ -131,6 +131,9 @@ class CloudPolicyClient {
|
| // Whether the client is registered with the device management service.
|
| bool is_registered() const { return !dm_token_.empty(); }
|
|
|
| + // The device mode as received in the registration request.
|
| + DeviceMode device_mode() const { return device_mode_; }
|
| +
|
| // The policy response as obtained by the last request to the cloud. This
|
| // policy blob hasn't gone through verification, so its contents cannot be
|
| // trusted. Use CloudPolicyStore::policy() and CloudPolicyStore::policy_map()
|
| @@ -178,6 +181,7 @@ class CloudPolicyClient {
|
| const PolicyScope scope_;
|
|
|
| std::string dm_token_;
|
| + DeviceMode device_mode_;
|
| std::string client_id_;
|
| bool submit_machine_id_;
|
| base::Time last_policy_timestamp_;
|
|
|