diff options
Diffstat (limited to 'content/browser/device_orientation/device_orientation_browsertest.cc')
-rw-r--r-- | content/browser/device_orientation/device_orientation_browsertest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/device_orientation/device_orientation_browsertest.cc b/content/browser/device_orientation/device_orientation_browsertest.cc index d002a10..5bceb69 100644 --- a/content/browser/device_orientation/device_orientation_browsertest.cc +++ b/content/browser/device_orientation/device_orientation_browsertest.cc @@ -26,11 +26,11 @@ class MockProvider : public Provider { removed_observer_(false) { } - virtual void AddObserver(Observer* observer) { + virtual void AddObserver(Observer* observer) OVERRIDE { added_observer_ = true; observer->OnDeviceDataUpdate(device_data_.get(), device_data_type_); } - virtual void RemoveObserver(Observer* observer) { + virtual void RemoveObserver(Observer* observer) OVERRIDE { removed_observer_ = true; } @@ -46,7 +46,7 @@ class MockProvider : public Provider { class DeviceOrientationBrowserTest : public ContentBrowserTest { public: // From ContentBrowserTest. - virtual void SetUpCommandLine(CommandLine* command_line) { + virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { EXPECT_TRUE(!command_line->HasSwitch(switches::kDisableDeviceOrientation)); } }; |