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

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

Issue 666133002: Standardize usage of virtual/override/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
« no previous file with comments | « components/policy/core/common/policy_loader_mac.h ('k') | components/policy/core/common/policy_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_loader_mac_unittest.cc
diff --git a/components/policy/core/common/policy_loader_mac_unittest.cc b/components/policy/core/common/policy_loader_mac_unittest.cc
index db22e74cc260a9b597376cb851e8aad6fd796225..a840724d937cbb21f60919dfd87748598a4740eb 100644
--- a/components/policy/core/common/policy_loader_mac_unittest.cc
+++ b/components/policy/core/common/policy_loader_mac_unittest.cc
@@ -29,25 +29,24 @@ namespace {
class TestHarness : public PolicyProviderTestHarness {
public:
TestHarness();
- virtual ~TestHarness();
+ ~TestHarness() override;
- virtual void SetUp() override;
+ void SetUp() override;
- virtual ConfigurationPolicyProvider* CreateProvider(
+ ConfigurationPolicyProvider* CreateProvider(
SchemaRegistry* registry,
scoped_refptr<base::SequencedTaskRunner> task_runner) override;
- virtual void InstallEmptyPolicy() override;
- virtual void InstallStringPolicy(const std::string& policy_name,
- const std::string& policy_value) override;
- virtual void InstallIntegerPolicy(const std::string& policy_name,
- int policy_value) override;
- virtual void InstallBooleanPolicy(const std::string& policy_name,
- bool policy_value) override;
- virtual void InstallStringListPolicy(
- const std::string& policy_name,
- const base::ListValue* policy_value) override;
- virtual void InstallDictionaryPolicy(
+ void InstallEmptyPolicy() override;
+ void InstallStringPolicy(const std::string& policy_name,
+ const std::string& policy_value) override;
+ void InstallIntegerPolicy(const std::string& policy_name,
+ int policy_value) override;
+ void InstallBooleanPolicy(const std::string& policy_name,
+ bool policy_value) override;
+ void InstallStringListPolicy(const std::string& policy_name,
+ const base::ListValue* policy_value) override;
+ void InstallDictionaryPolicy(
const std::string& policy_name,
const base::DictionaryValue* policy_value) override;
« no previous file with comments | « components/policy/core/common/policy_loader_mac.h ('k') | components/policy/core/common/policy_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698