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

Unified Diff: content/browser/device_sensors/device_inertial_sensor_browsertest.cc

Issue 633503002: Replacing the OVERRIDE with override and FINAL with final in content/browser/device_sensors (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/device_sensors/device_inertial_sensor_browsertest.cc
diff --git a/content/browser/device_sensors/device_inertial_sensor_browsertest.cc b/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
index 4fc83c2583c240af64d315603b19ba35e203a96e..6ef388b7b18c4d9bf0d3e82748746e618dbc4cfe 100644
--- a/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
+++ b/content/browser/device_sensors/device_inertial_sensor_browsertest.cc
@@ -36,7 +36,7 @@ class FakeDataFetcher : public DataFetcherSharedMemory {
sensor_data_available_(true) {}
virtual ~FakeDataFetcher() { }
- virtual bool Start(ConsumerType consumer_type, void* buffer) OVERRIDE {
+ virtual bool Start(ConsumerType consumer_type, void* buffer) override {
EXPECT_TRUE(buffer);
switch (consumer_type) {
@@ -77,7 +77,7 @@ class FakeDataFetcher : public DataFetcherSharedMemory {
return true;
}
- virtual bool Stop(ConsumerType consumer_type) OVERRIDE {
+ virtual bool Stop(ConsumerType consumer_type) override {
switch (consumer_type) {
case CONSUMER_TYPE_MOTION:
stopped_motion_.Signal();
@@ -94,11 +94,11 @@ class FakeDataFetcher : public DataFetcherSharedMemory {
return true;
}
- virtual void Fetch(unsigned consumer_bitmask) OVERRIDE {
+ virtual void Fetch(unsigned consumer_bitmask) override {
FAIL() << "fetch should not be called";
}
- virtual FetcherType GetType() const OVERRIDE {
+ virtual FetcherType GetType() const override {
return FETCHER_TYPE_DEFAULT;
}
@@ -184,7 +184,7 @@ class DeviceInertialSensorBrowserTest : public ContentBrowserTest {
io_loop_finished_event_(false, false) {
}
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
base::Bind(&DeviceInertialSensorBrowserTest::SetUpOnIOThread, this));

Powered by Google App Engine
This is Rietveld 408576698