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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client.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/cloud_policy_client.h
diff --git a/components/policy/core/common/cloud/cloud_policy_client.h b/components/policy/core/common/cloud/cloud_policy_client.h
index c768165653dd56f861396b5bd73010fe3ad6f75b..fdd6a6daa2cb26c67dc2ba722a2a6237fe3f226c 100644
--- a/components/policy/core/common/cloud/cloud_policy_client.h
+++ b/components/policy/core/common/cloud/cloud_policy_client.h
@@ -87,9 +87,12 @@ class POLICY_EXPORT CloudPolicyClient {
// |provider| and |service| are weak pointers and it's the caller's
// responsibility to keep them valid for the lifetime of CloudPolicyClient.
+ // |verification_key_hash| contains an identifier telling the DMServer which
+ // verification key to use.
CloudPolicyClient(
const std::string& machine_id,
const std::string& machine_model,
+ const std::string& verification_key_hash,
UserAffiliation user_affiliation,
StatusProvider* provider,
DeviceManagementService* service,
@@ -255,6 +258,7 @@ class POLICY_EXPORT CloudPolicyClient {
// Data necessary for constructing policy requests.
const std::string machine_id_;
const std::string machine_model_;
+ const std::string verification_key_hash_;
const UserAffiliation user_affiliation_;
NamespaceSet namespaces_to_fetch_;

Powered by Google App Engine
This is Rietveld 408576698