Chromium Code Reviews| 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 d2e3f8775256a9297ce8dfa6522cd9f0c9c77bf0..638b79f1c77af369d3bd5724bbc9560da45c988c 100644 |
| --- a/components/policy/core/common/cloud/cloud_policy_client.h |
| +++ b/components/policy/core/common/cloud/cloud_policy_client.h |
| @@ -200,6 +200,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; |
| } |
| @@ -378,12 +381,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. |
|
Thiemo Nagel
2016/09/27 16:09:06
On the occasion, add a comment to clarify the role
|
| + bool submit_machine_id_ = false; |
| + |
| // Information for the latest policy invalidation received. |
| int64_t invalidation_version_ = 0; |
| std::string invalidation_payload_; |