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

Unified Diff: content/browser/battery_status/battery_status_browsertest.cc

Issue 634703003: Replacing the OVERRIDE with override and FINAL with final in content/browser/[accessibility|battery… (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: content/browser/battery_status/battery_status_browsertest.cc
diff --git a/content/browser/battery_status/battery_status_browsertest.cc b/content/browser/battery_status/battery_status_browsertest.cc
index f5e9be0b496f3f7c2eafc289c8be36c41d90b6af..b2e90e7c67c71c01e74b28de91930eaf4a5e2953 100644
--- a/content/browser/battery_status/battery_status_browsertest.cc
+++ b/content/browser/battery_status/battery_status_browsertest.cc
@@ -26,14 +26,14 @@ class FakeBatteryManager : public BatteryStatusManager {
virtual ~FakeBatteryManager() { }
// Methods from BatteryStatusManager.
- virtual bool StartListeningBatteryChange() OVERRIDE {
+ virtual bool StartListeningBatteryChange() override {
started_ = true;
if (battery_status_available_)
InvokeUpdateCallback();
return battery_status_available_;
}
- virtual void StopListeningBatteryChange() OVERRIDE { }
+ virtual void StopListeningBatteryChange() override { }
void InvokeUpdateCallback() {
callback_.Run(status_);
@@ -68,12 +68,12 @@ class BatteryStatusBrowserTest : public ContentBrowserTest {
io_loop_finished_event_(false, false) {
}
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+ virtual void SetUpCommandLine(CommandLine* command_line) override {
command_line->AppendSwitch(
switches::kEnableExperimentalWebPlatformFeatures);
}
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&BatteryStatusBrowserTest::SetUpOnIOThread, this));
@@ -88,7 +88,7 @@ class BatteryStatusBrowserTest : public ContentBrowserTest {
io_loop_finished_event_.Signal();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
battery_service_->SetBatteryManagerForTesting(0);
}

Powered by Google App Engine
This is Rietveld 408576698