Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: chrome/browser/policy/device_management_policy_cache.h

Issue 5219006: Refresh policies from DM server periodically (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/policy/device_management_policy_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5136059a8306c62fd3560b71d9a71603e4f5f32e..ffe63d4e65b0f50eeacdb8429c57436b675e7f60 100644
--- a/chrome/browser/policy/device_management_policy_cache.h
+++ b/chrome/browser/policy/device_management_policy_cache.h
@@ -33,8 +33,9 @@ class DeviceManagementPolicyCache {
// cache files are ignored.
void LoadPolicyFromFile();
- // Resets the policy information.
- void SetPolicy(const em::DevicePolicyResponse& policy);
+ // Resets the policy information. Returns true if the new policy is different
+ // from the previously stored policy.
+ bool SetPolicy(const em::DevicePolicyResponse& policy);
// Gets the policy information. Ownership of the return value is transferred
// to the caller.
« no previous file with comments | « no previous file | chrome/browser/policy/device_management_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698