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

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

Issue 6537020: Update policy backend and testserver for the newest policy protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 5 Created 9 years, 10 months 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
Index: chrome/browser/policy/cloud_policy_cache.h
diff --git a/chrome/browser/policy/cloud_policy_cache.h b/chrome/browser/policy/cloud_policy_cache.h
index 03c2369af215c6c6db547ee15bddc482cd08b298..e098444f017888cf52f36c57f7438159f7f2f4ba 100644
--- a/chrome/browser/policy/cloud_policy_cache.h
+++ b/chrome/browser/policy/cloud_policy_cache.h
@@ -54,7 +54,7 @@ class CloudPolicyCache : public base::NonThreadSafe {
// Resets the policy information. Returns true if the new policy is different
// from the previously stored policy.
// Marked virtual so it can be overridden by mocks.
- virtual bool SetPolicy(const em::CloudPolicyResponse& policy);
+ virtual bool SetPolicy(const em::PolicyFetchResponse& policy);
virtual bool SetDevicePolicy(const em::DevicePolicyResponse& policy);
ConfigurationPolicyProvider* GetManagedPolicyProvider();
@@ -87,7 +87,7 @@ class CloudPolicyCache : public base::NonThreadSafe {
// maps and a timestamp. Also performs verification, returns NULL if any
// check fails.
static bool DecodePolicyResponse(
- const em::CloudPolicyResponse& policy_response,
+ const em::PolicyFetchResponse& policy_response,
PolicyMap* mandatory,
PolicyMap* recommended,
base::Time* timestamp);
« no previous file with comments | « no previous file | chrome/browser/policy/cloud_policy_cache.cc » ('j') | chrome/browser/policy/cloud_policy_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698