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

Unified Diff: content/renderer/device_sensors/device_light_event_pump_unittest.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts 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_unittest.cc
diff --git a/content/renderer/device_sensors/device_light_event_pump_unittest.cc b/content/renderer/device_sensors/device_light_event_pump_unittest.cc
index b1d567c0e255aebfe9444cd12878f92ac18bc4e0..f6eec3d05f0fb1d80d7788417890141407714add 100644
--- a/content/renderer/device_sensors/device_light_event_pump_unittest.cc
+++ b/content/renderer/device_sensors/device_light_event_pump_unittest.cc
@@ -17,7 +17,7 @@ class MockDeviceLightListener : public blink::WebDeviceLightListener {
MockDeviceLightListener() : did_change_device_light_(false) {}
virtual ~MockDeviceLightListener() {}
- virtual void didChangeDeviceLight(double value) OVERRIDE {
+ virtual void didChangeDeviceLight(double value) override {
data_.value = value;
did_change_device_light_ = true;
}
@@ -46,9 +46,9 @@ class DeviceLightEventPumpForTesting : public DeviceLightEventPump {
void OnDidStart(base::SharedMemoryHandle renderer_handle) {
DeviceLightEventPump::OnDidStart(renderer_handle);
}
- virtual void SendStartMessage() OVERRIDE { }
- virtual void SendStopMessage() OVERRIDE { }
- virtual void FireEvent() OVERRIDE {
+ virtual void SendStartMessage() override { }
+ virtual void SendStopMessage() override { }
+ virtual void FireEvent() override {
DeviceLightEventPump::FireEvent();
Stop();
base::MessageLoop::current()->QuitWhenIdle();
@@ -66,7 +66,7 @@ class DeviceLightEventPumpTest : public testing::Test {
}
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
const DeviceLightHardwareBuffer* null_buffer = NULL;
listener_.reset(new MockDeviceLightListener);
light_pump_.reset(new DeviceLightEventPumpForTesting);
« no previous file with comments | « content/renderer/device_sensors/device_light_event_pump.h ('k') | content/renderer/device_sensors/device_motion_event_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698