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

Unified Diff: components/policy/core/common/cloud/cloud_policy_manager_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 1d6f0531df9ff961599487d91ea4c5c32356ee56..70299fa3f53ca5153b94be474950ca0caf86d3c0 100644
--- a/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_manager_unittest.cc
@@ -176,7 +176,7 @@ class CloudPolicyManagerTest : public testing::Test {
CloudPolicyManagerTest()
: policy_ns_key_(dm_protocol::kChromeUserPolicyType, std::string()) {}
- virtual void SetUp() override {
+ void SetUp() override {
// Set up a policy map for testing.
policy_map_.Set("key",
POLICY_LEVEL_MANDATORY,
@@ -197,7 +197,7 @@ class CloudPolicyManagerTest : public testing::Test {
manager_->AddObserver(&observer_);
}
- virtual void TearDown() override {
+ void TearDown() override {
manager_->RemoveObserver(&observer_);
manager_->Shutdown();
}

Powered by Google App Engine
This is Rietveld 408576698