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

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

Issue 2537643003: Drop verification_key_hash from CloudPolicyClient constructor (Closed)
Patch Set: git cl format Created 4 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
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 e091ebdf756661875db8d6a83a9c4d79bf1ab914..128e2a727d05daa858cebedf998230ad7f6387c5 100644
--- a/components/policy/core/common/cloud/cloud_policy_client.h
+++ b/components/policy/core/common/cloud/cloud_policy_client.h
@@ -85,13 +85,10 @@ class POLICY_EXPORT CloudPolicyClient {
// this is appropriate (i.e. device policy, but not user policy). |service|
// and |signing_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. The |signing_service| is used to sign sensitive
- // requests.
+ // The |signing_service| is used to sign sensitive requests.
CloudPolicyClient(
const std::string& machine_id,
const std::string& machine_model,
- const std::string& verification_key_hash,
DeviceManagementService* service,
scoped_refptr<net::URLRequestContextGetter> request_context,
SigningService* signing_service);
@@ -377,7 +374,6 @@ 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_;
PolicyTypeSet types_to_fetch_;
std::vector<std::string> state_keys_to_upload_;

Powered by Google App Engine
This is Rietveld 408576698