| Index: components/policy/core/common/cloud/cloud_policy_client.h
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_client.h b/components/policy/core/common/cloud/cloud_policy_client.h
|
| index 88f11b6c04e60fbb6fd5dae69c440b37bf7edf02..d0ca5399c88ba31e71156f4bd01875e3102a1942 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_client.h
|
| +++ b/components/policy/core/common/cloud/cloud_policy_client.h
|
| @@ -203,6 +203,9 @@ class POLICY_EXPORT CloudPolicyClient {
|
| // Removes the specified observer.
|
| void RemoveObserver(Observer* observer);
|
|
|
| + const std::string& machine_id() const { return machine_id_; }
|
| + const std::string& machine_model() const { return machine_model_; }
|
| +
|
| void set_submit_machine_id(bool submit_machine_id) {
|
| submit_machine_id_ = submit_machine_id;
|
| }
|
| @@ -381,12 +384,14 @@ class POLICY_EXPORT CloudPolicyClient {
|
| std::string dm_token_;
|
| DeviceMode device_mode_ = DEVICE_MODE_NOT_SET;
|
| std::string client_id_;
|
| - bool submit_machine_id_ = false;
|
| base::Time last_policy_timestamp_;
|
| int public_key_version_ = -1;
|
| bool public_key_version_valid_ = false;
|
| std::string robot_api_auth_code_;
|
|
|
| + // Whether to send |machine_id_| as part of policy fetch.
|
| + bool submit_machine_id_ = false;
|
| +
|
| // Information for the latest policy invalidation received.
|
| int64_t invalidation_version_ = 0;
|
| std::string invalidation_payload_;
|
|
|