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

Unified Diff: components/policy/core/common/cloud/cloud_policy_client_unittest.cc

Issue 2537643003: Drop verification_key_hash from CloudPolicyClient constructor (Closed)
Patch Set: Fix CrOS compilation 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_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
index e2f6fd690d6f81e154b873635fee23d2255b6691..cb84cc81b1fbfabdf3eae75f88e96631d3086254 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
@@ -191,9 +191,7 @@ class CloudPolicyClientTest : public testing::Test {
request_context_ =
new net::TestURLRequestContextGetter(loop_.task_runner());
- client_.reset(new CloudPolicyClient(kMachineID, kMachineModel,
- kPolicyVerificationKeyHash,
- &service_,
+ client_.reset(new CloudPolicyClient(kMachineID, kMachineModel, &service_,
request_context_,
&fake_signing_service_));
client_->AddPolicyTypeToFetch(policy_type_, std::string());

Powered by Google App Engine
This is Rietveld 408576698