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

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

Issue 2302443002: Revert of All DCP manager tests that enroll/register are tested with all auths. (Closed)
Patch Set: Created 4 years, 4 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_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 488f6c2311de1abcf88943ccee4bff8d2fbe4b78..c07757b503fb3f6f35d2c23330fd89a510f59e1d 100644
--- a/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_client_unittest.cc
@@ -111,7 +111,7 @@
em::CertificateBasedDeviceRegisterRequest* cert_based_register_request =
cert_based_registration_request_.mutable_cert_based_register_request();
- fake_signing_service_.SignDataSynchronously(data.SerializeAsString(),
+ fake_signing_service_.SignRegistrationData(&data,
cert_based_register_request->mutable_signed_request());
em::PolicyFetchRequest* policy_fetch_request =

Powered by Google App Engine
This is Rietveld 408576698