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

Unified Diff: components/policy/core/common/cloud/cloud_policy_manager_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/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 9dab86b3eaf01b1b805e0e44159af86018afe893..41d7a907f734f5ac5381c564ba3fbcf0788634bb 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
@@ -33,25 +33,25 @@ class TestHarness : public PolicyProviderTestHarness {
explicit TestHarness(PolicyLevel level);
virtual ~TestHarness();
- virtual void SetUp() OVERRIDE;
+ virtual void SetUp() override;
virtual ConfigurationPolicyProvider* CreateProvider(
SchemaRegistry* registry,
- scoped_refptr<base::SequencedTaskRunner> task_runner) OVERRIDE;
+ scoped_refptr<base::SequencedTaskRunner> task_runner) override;
- virtual void InstallEmptyPolicy() OVERRIDE;
+ virtual void InstallEmptyPolicy() override;
virtual void InstallStringPolicy(const std::string& policy_name,
- const std::string& policy_value) OVERRIDE;
+ const std::string& policy_value) override;
virtual void InstallIntegerPolicy(const std::string& policy_name,
- int policy_value) OVERRIDE;
+ int policy_value) override;
virtual void InstallBooleanPolicy(const std::string& policy_name,
- bool policy_value) OVERRIDE;
+ bool policy_value) override;
virtual void InstallStringListPolicy(
const std::string& policy_name,
- const base::ListValue* policy_value) OVERRIDE;
+ const base::ListValue* policy_value) override;
virtual void InstallDictionaryPolicy(
const std::string& policy_name,
- const base::DictionaryValue* policy_value) OVERRIDE;
+ const base::DictionaryValue* policy_value) override;
// Creates harnesses for mandatory and recommended levels, respectively.
static PolicyProviderTestHarness* CreateMandatory();
@@ -177,7 +177,7 @@ class CloudPolicyManagerTest : public testing::Test {
CloudPolicyManagerTest()
: policy_ns_key_(dm_protocol::kChromeUserPolicyType, std::string()) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
// Set up a policy map for testing.
policy_map_.Set("key",
POLICY_LEVEL_MANDATORY,
@@ -198,7 +198,7 @@ class CloudPolicyManagerTest : public testing::Test {
manager_->AddObserver(&observer_);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
manager_->RemoveObserver(&observer_);
manager_->Shutdown();
}

Powered by Google App Engine
This is Rietveld 408576698