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

Unified Diff: components/policy/core/common/cloud/cloud_policy_refresh_scheduler_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_refresh_scheduler_unittest.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc
index 7a1ea6f573e570141a9faaaa1f01cfe83f2d65f0..9ebc4d4f73545eefea323469ac1875d02ed8d4ff 100644
--- a/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc
+++ b/components/policy/core/common/cloud/cloud_policy_refresh_scheduler_unittest.cc
@@ -35,7 +35,7 @@ class CloudPolicyRefreshSchedulerTest : public testing::Test {
: task_runner_(new base::TestSimpleTaskRunner()),
network_change_notifier_(net::NetworkChangeNotifier::CreateMock()) {}
- virtual void SetUp() override {
+ void SetUp() override {
client_.SetDMToken("token");
// Set up the protobuf timestamp to be one minute in the past. Since the
@@ -314,7 +314,7 @@ class CloudPolicyRefreshSchedulerSteadyStateTest
protected:
CloudPolicyRefreshSchedulerSteadyStateTest() {}
- virtual void SetUp() override {
+ void SetUp() override {
refresh_scheduler_.reset(CreateRefreshScheduler());
refresh_scheduler_->SetRefreshDelay(kPolicyRefreshRate);
CloudPolicyRefreshSchedulerTest::SetUp();

Powered by Google App Engine
This is Rietveld 408576698