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

Unified Diff: content/browser/power_profiler/power_profiler_service_unittest.cc

Issue 628163002: Replacing the OVERRIDE with override and FINAL with final in content/browser/power_profiler (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 | « content/browser/power_profiler/power_data_provider_ia_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/power_profiler/power_profiler_service_unittest.cc
diff --git a/content/browser/power_profiler/power_profiler_service_unittest.cc b/content/browser/power_profiler/power_profiler_service_unittest.cc
index f0451f3847ce4034dc602332d46e0e8baeffd18b..ad3961c730a213fb7875bc103c62f2bb3d92dd15 100644
--- a/content/browser/power_profiler/power_profiler_service_unittest.cc
+++ b/content/browser/power_profiler/power_profiler_service_unittest.cc
@@ -21,7 +21,7 @@ class TestPowerDataProvider : public PowerDataProvider {
TestPowerDataProvider(int count) : num_events_to_send_(count) {}
virtual ~TestPowerDataProvider() {}
- virtual PowerEventVector GetData() OVERRIDE {
+ virtual PowerEventVector GetData() override {
PowerEventVector events;
if (num_events_to_send_ == 0)
return events;
@@ -36,11 +36,11 @@ class TestPowerDataProvider : public PowerDataProvider {
return events;
}
- virtual base::TimeDelta GetSamplingRate() OVERRIDE {
+ virtual base::TimeDelta GetSamplingRate() override {
return base::TimeDelta::FromMilliseconds(kDefaultSamplePeriodMs);
}
- virtual AccuracyLevel GetAccuracyLevel() OVERRIDE { return High; }
+ virtual AccuracyLevel GetAccuracyLevel() override { return High; }
private:
int num_events_to_send_;
@@ -54,7 +54,7 @@ class TestPowerProfilerObserver : public PowerProfilerObserver {
total_num_events_received_(0) {}
virtual ~TestPowerProfilerObserver() {}
- virtual void OnPowerEvent(const PowerEventVector& events) OVERRIDE {
+ virtual void OnPowerEvent(const PowerEventVector& events) override {
if (IsValidEvent(events[0]))
++valid_event_count_;
« no previous file with comments | « content/browser/power_profiler/power_data_provider_ia_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698