Index: components/policy/core/common/cloud/policy_header_service_unittest.cc |
diff --git a/components/policy/core/common/cloud/policy_header_service_unittest.cc b/components/policy/core/common/cloud/policy_header_service_unittest.cc |
index b8c4e5b2ee3b2b1ec5eacf1827db80dd5bd5b345..c5cf639ddb09f794efba05b7194608e52a8a6dd6 100644 |
--- a/components/policy/core/common/cloud/policy_header_service_unittest.cc |
+++ b/components/policy/core/common/cloud/policy_header_service_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/json/json_reader.h" |
#include "base/test/test_simple_task_runner.h" |
#include "base/values.h" |
+#include "components/policy/core/common/cloud/cloud_policy_constants.h" |
#include "components/policy/core/common/cloud/mock_cloud_policy_store.h" |
#include "components/policy/core/common/cloud/policy_header_io_helper.h" |
#include "components/policy/core/common/cloud/policy_header_service.h" |
@@ -37,8 +38,10 @@ class PolicyHeaderServiceTest : public testing::Test { |
virtual ~PolicyHeaderServiceTest() {} |
virtual void SetUp() OVERRIDE { |
- service_.reset(new PolicyHeaderService( |
- kDMServerURL, &user_store_, &device_store_)); |
+ service_.reset(new PolicyHeaderService(kDMServerURL, |
+ kPolicyVerificationKeyHash, |
+ &user_store_, |
+ &device_store_)); |
helper_ = service_->CreatePolicyHeaderIOHelper(task_runner_).Pass(); |
} |