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 d81f1f7e48499d64f694e288207a24fa98e684b3..7b2ef53ff6d54f6040517585bdde6a9ca3ed5f7f 100644 |
--- a/components/policy/core/common/cloud/policy_header_service_unittest.cc |
+++ b/components/policy/core/common/cloud/policy_header_service_unittest.cc |
@@ -39,7 +39,7 @@ class PolicyHeaderServiceTest : public testing::Test { |
} |
virtual ~PolicyHeaderServiceTest() {} |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
service_.reset(new PolicyHeaderService(kDMServerURL, |
kPolicyVerificationKeyHash, |
&user_store_, |
@@ -47,7 +47,7 @@ class PolicyHeaderServiceTest : public testing::Test { |
helper_ = service_->CreatePolicyHeaderIOHelper(task_runner_).Pass(); |
} |
- virtual void TearDown() OVERRIDE { |
+ virtual void TearDown() override { |
task_runner_->RunUntilIdle(); |
// Helper should outlive the service. |
service_.reset(); |