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..4065ce9ec39150ca8fe5f811f38fa4f62993310c 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(); |
+ bool is_device_unmanaged() const { |
+ return is_device_unmanaged_; |
+ } |
+ void SetDeviceUnmanaged(bool is_device_unmanaged); |
Mattias Nissler (ping if slow)
2010/11/26 10:37:45
Can you swap these? Most classes I have seen have
Jakob Kummerow
2010/11/26 11:07:42
Done.
|
+ |
// 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_; |
}; |