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

Unified Diff: components/policy/core/common/policy_loader_win_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_loader_win_unittest.cc
diff --git a/components/policy/core/common/policy_loader_win_unittest.cc b/components/policy/core/common/policy_loader_win_unittest.cc
index 02f0e04017327c8b0a9c49c8ab5b33fbe1d384ab..88205b4a67a879f42a35179880606d50809d55ab 100644
--- a/components/policy/core/common/policy_loader_win_unittest.cc
+++ b/components/policy/core/common/policy_loader_win_unittest.cc
@@ -173,35 +173,35 @@ class RegistryTestHarness : public PolicyProviderTestHarness,
virtual ~RegistryTestHarness();
// PolicyProviderTestHarness:
- 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;
virtual void Install3rdPartyPolicy(
- const base::DictionaryValue* policies) OVERRIDE;
+ const base::DictionaryValue* policies) override;
// AppliedGPOListProvider:
virtual DWORD GetAppliedGPOList(DWORD flags,
LPCTSTR machine_name,
PSID sid_user,
GUID* extension_guid,
- PGROUP_POLICY_OBJECT* gpo_list) OVERRIDE;
- virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) OVERRIDE;
+ PGROUP_POLICY_OBJECT* gpo_list) override;
+ virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) override;
// Creates a harness instance that will install policy in HKCU or HKLM,
// respectively.
@@ -224,35 +224,35 @@ class PRegTestHarness : public PolicyProviderTestHarness,
virtual ~PRegTestHarness();
// PolicyProviderTestHarness:
- 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;
virtual void Install3rdPartyPolicy(
- const base::DictionaryValue* policies) OVERRIDE;
+ const base::DictionaryValue* policies) override;
// AppliedGPOListProvider:
virtual DWORD GetAppliedGPOList(DWORD flags,
LPCTSTR machine_name,
PSID sid_user,
GUID* extension_guid,
- PGROUP_POLICY_OBJECT* gpo_list) OVERRIDE;
- virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) OVERRIDE;
+ PGROUP_POLICY_OBJECT* gpo_list) override;
+ virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) override;
// Creates a harness instance.
static PolicyProviderTestHarness* Create();
@@ -704,7 +704,7 @@ class PolicyLoaderWinTest : public PolicyTestBase,
gpo_list_status_(ERROR_ACCESS_DENIED) {}
virtual ~PolicyLoaderWinTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
base::win::SetDomainStateForTesting(false);
PolicyTestBase::SetUp();
@@ -721,11 +721,11 @@ class PolicyLoaderWinTest : public PolicyTestBase,
LPCTSTR machine_name,
PSID sid_user,
GUID* extension_guid,
- PGROUP_POLICY_OBJECT* gpo_list) OVERRIDE {
+ PGROUP_POLICY_OBJECT* gpo_list) override {
*gpo_list = gpo_list_;
return gpo_list_status_;
}
- virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) OVERRIDE {
+ virtual BOOL FreeGPOList(PGROUP_POLICY_OBJECT gpo_list) override {
return TRUE;
}
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | components/policy/core/common/policy_provider_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698