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

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

Issue 116273002: Added support for signed policy blobs on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup from self-review + cros clang fix. 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_manager_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
index 274b95d6521d322e1d78d6664200b028f1204462..181024a4f788ca30ae1752b25c0261299213c0ea 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
@@ -77,6 +77,7 @@ ConfigurationPolicyProvider* TestHarness::CreateProvider(
store_.NotifyStoreLoaded();
ConfigurationPolicyProvider* provider = new CloudPolicyManager(
PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, std::string()),
+ kPolicyVerificationKeyHash,
&store_,
task_runner,
task_runner,
@@ -143,6 +144,7 @@ class TestCloudPolicyManager : public CloudPolicyManager {
: CloudPolicyManager(PolicyNamespaceKey(
dm_protocol::kChromeUserPolicyType,
std::string()),
+ kPolicyVerificationKeyHash,
store,
task_runner,
task_runner,

Powered by Google App Engine
This is Rietveld 408576698