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

Unified Diff: components/policy/core/common/cloud/policy_header_service.h

Issue 116273002: Added support for signed policy blobs on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for ios. Created 6 years, 11 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: components/policy/core/common/cloud/policy_header_service.h
diff --git a/components/policy/core/common/cloud/policy_header_service.h b/components/policy/core/common/cloud/policy_header_service.h
index b797c2a336beaae534b538243869dab33e06d6fd..e55c08b7c69e96e2be7e831ea5d8b1be5d86cc32 100644
--- a/components/policy/core/common/cloud/policy_header_service.h
+++ b/components/policy/core/common/cloud/policy_header_service.h
@@ -30,6 +30,7 @@ class POLICY_EXPORT PolicyHeaderService : public CloudPolicyStore::Observer {
// device policy. Both |user_policy_store| and |device_policy_store| must
// outlive this object.
PolicyHeaderService(const std::string& server_url,
+ const std::string& verification_key_hash,
CloudPolicyStore* user_policy_store,
CloudPolicyStore* device_policy_store);
virtual ~PolicyHeaderService();
@@ -56,6 +57,9 @@ class POLICY_EXPORT PolicyHeaderService : public CloudPolicyStore::Observer {
// URL of the policy server.
std::string server_url_;
+ // Identifier for the verification key this Chrome instance is using.
+ std::string verification_key_hash_;
+
// Weak pointers to User-/Device-level policy stores.
CloudPolicyStore* user_policy_store_;
CloudPolicyStore* device_policy_store_;

Powered by Google App Engine
This is Rietveld 408576698