Index: components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
diff --git a/components/policy/core/browser/configuration_policy_pref_store_unittest.cc b/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
index 35d91ee01d2313b8d3c5c0e402f7bf4052884efe..c1d3cfc314fc77f9af7d6aec67421e25bfeea7f8 100644 |
--- a/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
+++ b/components/policy/core/browser/configuration_policy_pref_store_unittest.cc |
@@ -39,7 +39,7 @@ namespace policy { |
// Test cases for list-valued policy settings. |
class ConfigurationPolicyPrefStoreListTest |
: public ConfigurationPolicyPrefStoreTest { |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
handler_list_.AddHandler( |
make_scoped_ptr<ConfigurationPolicyHandler>(new SimplePolicyHandler( |
kTestPolicy, kTestPref, base::Value::TYPE_LIST))); |
@@ -67,7 +67,7 @@ TEST_F(ConfigurationPolicyPrefStoreListTest, SetValue) { |
// Test cases for string-valued policy settings. |
class ConfigurationPolicyPrefStoreStringTest |
: public ConfigurationPolicyPrefStoreTest { |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
handler_list_.AddHandler( |
make_scoped_ptr<ConfigurationPolicyHandler>(new SimplePolicyHandler( |
kTestPolicy, kTestPref, base::Value::TYPE_STRING))); |
@@ -95,7 +95,7 @@ TEST_F(ConfigurationPolicyPrefStoreStringTest, SetValue) { |
// Test cases for boolean-valued policy settings. |
class ConfigurationPolicyPrefStoreBooleanTest |
: public ConfigurationPolicyPrefStoreTest { |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
handler_list_.AddHandler( |
make_scoped_ptr<ConfigurationPolicyHandler>(new SimplePolicyHandler( |
kTestPolicy, kTestPref, base::Value::TYPE_BOOLEAN))); |
@@ -139,7 +139,7 @@ TEST_F(ConfigurationPolicyPrefStoreBooleanTest, SetValue) { |
// Test cases for integer-valued policy settings. |
class ConfigurationPolicyPrefStoreIntegerTest |
: public ConfigurationPolicyPrefStoreTest { |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
handler_list_.AddHandler( |
make_scoped_ptr<ConfigurationPolicyHandler>(new SimplePolicyHandler( |
kTestPolicy, kTestPref, base::Value::TYPE_INTEGER))); |
@@ -167,7 +167,7 @@ TEST_F(ConfigurationPolicyPrefStoreIntegerTest, SetValue) { |
class ConfigurationPolicyPrefStoreRefreshTest |
: public ConfigurationPolicyPrefStoreTest { |
protected: |
- virtual void SetUp() OVERRIDE { |
+ virtual void SetUp() override { |
ConfigurationPolicyPrefStoreTest::SetUp(); |
store_->AddObserver(&observer_); |
handler_list_.AddHandler( |
@@ -175,7 +175,7 @@ class ConfigurationPolicyPrefStoreRefreshTest |
kTestPolicy, kTestPref, base::Value::TYPE_STRING))); |
} |
- virtual void TearDown() OVERRIDE { |
+ virtual void TearDown() override { |
store_->RemoveObserver(&observer_); |
ConfigurationPolicyPrefStoreTest::TearDown(); |
} |