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

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

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (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/renderer/device_sensors/device_light_event_pump.h
diff --git a/content/renderer/device_sensors/device_light_event_pump.h b/content/renderer/device_sensors/device_light_event_pump.h
index 46766ec7d27d35aa7b583d275eb70466b256187d..b5dd1f43a865b11e8eb0710cfe08e6593177b144 100644
--- a/content/renderer/device_sensors/device_light_event_pump.h
+++ b/content/renderer/device_sensors/device_light_event_pump.h
@@ -23,24 +23,24 @@ class CONTENT_EXPORT DeviceLightEventPump
: public DeviceSensorEventPump<blink::WebDeviceLightListener> {
public:
explicit DeviceLightEventPump(RenderThread* thread);
- virtual ~DeviceLightEventPump();
+ ~DeviceLightEventPump() override;
// Sets the listener to receive updates for device light data at
// regular intervals. Returns true if the registration was successful.
bool SetListener(blink::WebDeviceLightListener* listener);
// PlatformEventObserver implementation.
- virtual bool OnControlMessageReceived(const IPC::Message& message) override;
- virtual void SendFakeDataForTesting(void* data) override;
+ bool OnControlMessageReceived(const IPC::Message& message) override;
+ void SendFakeDataForTesting(void* data) override;
protected:
// Methods overriden from base class DeviceSensorEventPump
- virtual void FireEvent() override;
- virtual bool InitializeReader(base::SharedMemoryHandle handle) override;
+ void FireEvent() override;
+ bool InitializeReader(base::SharedMemoryHandle handle) override;
// PlatformEventObserver implementation.
- virtual void SendStartMessage() override;
- virtual void SendStopMessage() override;
+ void SendStartMessage() override;
+ void SendStopMessage() override;
private:
bool ShouldFireEvent(double data) const;
« no previous file with comments | « content/renderer/child_frame_compositing_helper.h ('k') | content/renderer/device_sensors/device_light_event_pump_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698