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

Unified Diff: content/renderer/device_sensors/device_sensor_event_pump.h

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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/public/test/mock_render_thread.h ('k') | content/renderer/input/input_handler_proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/device_sensors/device_sensor_event_pump.h
diff --git a/content/renderer/device_sensors/device_sensor_event_pump.h b/content/renderer/device_sensors/device_sensor_event_pump.h
index 43e0f64dca49f79e6df0e170aa6a02a992baa962..45e028d8679223b34ecde43ff1317bf7a7180592 100644
--- a/content/renderer/device_sensors/device_sensor_event_pump.h
+++ b/content/renderer/device_sensors/device_sensor_event_pump.h
@@ -22,7 +22,7 @@ class CONTENT_EXPORT DeviceSensorEventPump
base::Time::kMicrosecondsPerSecond / kDefaultPumpFrequencyHz;
// PlatformEventObserver
- virtual void Start(blink::WebPlatformEventListener* listener) override {
+ void Start(blink::WebPlatformEventListener* listener) override {
DVLOG(2) << "requested start";
if (state_ != STOPPED)
@@ -34,7 +34,7 @@ class CONTENT_EXPORT DeviceSensorEventPump
state_ = PENDING_START;
}
- virtual void Stop() override {
+ void Stop() override {
DVLOG(2) << "stop";
if (state_ == STOPPED)
@@ -55,7 +55,7 @@ class CONTENT_EXPORT DeviceSensorEventPump
pump_delay_microseconds_(kDefaultPumpDelayMicroseconds),
state_(STOPPED) {}
- virtual ~DeviceSensorEventPump() {
+ ~DeviceSensorEventPump() override {
PlatformEventObserver<ListenerType>::StopIfObserving();
}
« no previous file with comments | « content/public/test/mock_render_thread.h ('k') | content/renderer/input/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698