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

Unified Diff: components/policy/core/common/policy_service_impl_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/policy_service_impl_unittest.cc
diff --git a/components/policy/core/common/policy_service_impl_unittest.cc b/components/policy/core/common/policy_service_impl_unittest.cc
index e814519b6d83098ae0a40b4d62f3566fe01d90fa..ee0360b505c077eb1b11a518288c253ce9459a2b 100644
--- a/components/policy/core/common/policy_service_impl_unittest.cc
+++ b/components/policy/core/common/policy_service_impl_unittest.cc
@@ -77,7 +77,7 @@ class ChangePolicyObserver : public PolicyService::Observer {
virtual void OnPolicyUpdated(const PolicyNamespace&,
const PolicyMap& previous,
- const PolicyMap& current) OVERRIDE {
+ const PolicyMap& current) override {
PolicyMap new_policy;
new_policy.Set("foo",
POLICY_LEVEL_MANDATORY,
@@ -100,7 +100,7 @@ class ChangePolicyObserver : public PolicyService::Observer {
class PolicyServiceTest : public testing::Test {
public:
PolicyServiceTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
EXPECT_CALL(provider0_, IsInitializationComplete(_))
.WillRepeatedly(Return(true));
EXPECT_CALL(provider1_, IsInitializationComplete(_))
@@ -126,7 +126,7 @@ class PolicyServiceTest : public testing::Test {
policy_service_.reset(new PolicyServiceImpl(providers));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
provider0_.Shutdown();
provider1_.Shutdown();
provider2_.Shutdown();
« no previous file with comments | « components/policy/core/common/policy_service_impl.h ('k') | components/policy/core/common/policy_service_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698