| Index: chrome/browser/policy/device_management_policy_cache.h
|
| diff --git a/chrome/browser/policy/device_management_policy_cache.h b/chrome/browser/policy/device_management_policy_cache.h
|
| index ffe63d4e65b0f50eeacdb8429c57436b675e7f60..86ae845309c0bc1d5e724ac22b5bcf540bf29b8b 100644
|
| --- a/chrome/browser/policy/device_management_policy_cache.h
|
| +++ b/chrome/browser/policy/device_management_policy_cache.h
|
| @@ -41,6 +41,11 @@ class DeviceManagementPolicyCache {
|
| // to the caller.
|
| DictionaryValue* GetPolicy();
|
|
|
| + void SetDeviceUnmanaged(bool is_device_unmanaged);
|
| + bool is_device_unmanaged() const {
|
| + return is_device_unmanaged_;
|
| + }
|
| +
|
| // Returns the time as which the policy was last fetched.
|
| base::Time last_policy_refresh_time() const {
|
| return last_policy_refresh_time_;
|
| @@ -77,6 +82,8 @@ class DeviceManagementPolicyCache {
|
| // information loaded from the file.
|
| bool fresh_policy_;
|
|
|
| + bool is_device_unmanaged_;
|
| +
|
| // The time at which the policy was last refreshed.
|
| base::Time last_policy_refresh_time_;
|
| };
|
|
|