Index: components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc |
index 9ebc4d4f73545eefea323469ac1875d02ed8d4ff..0750080d8f8c8b0026d6023847db4e97959ecac4 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc |
@@ -172,9 +172,8 @@ TEST_F(CloudPolicyRefreshSchedulerTest, InitialRefreshManagedNotYetFetched) { |
TEST_F(CloudPolicyRefreshSchedulerTest, InitialRefreshManagedAlreadyFetched) { |
last_update_ = base::Time::NowFromSystemTime(); |
- client_.SetPolicy(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, |
- std::string()), |
- em::PolicyFetchResponse()); |
+ client_.SetPolicy(dm_protocol::kChromeUserPolicyType, "", |
+ em::PolicyFetchResponse()); |
scoped_ptr<CloudPolicyRefreshScheduler> scheduler(CreateRefreshScheduler()); |
CheckTiming(kPolicyRefreshRate); |
EXPECT_CALL(client_, FetchPolicy()).Times(1); |