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

Unified Diff: device/serial/serial_connection_unittest.cc

Issue 628873002: replace OVERRIDE and FINAL with override and final in device/ (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
« no previous file with comments | « device/serial/serial_connection.h ('k') | device/serial/serial_device_enumerator_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_connection_unittest.cc
diff --git a/device/serial/serial_connection_unittest.cc b/device/serial/serial_connection_unittest.cc
index 518dbcb610a98169f63b97c8512c744a4f5c1abe..9b7d4e73a604f584a8664a0098cc2799a2c58a24 100644
--- a/device/serial/serial_connection_unittest.cc
+++ b/device/serial/serial_connection_unittest.cc
@@ -24,7 +24,7 @@ namespace device {
namespace {
class FakeSerialDeviceEnumerator : public SerialDeviceEnumerator {
- virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() OVERRIDE {
+ virtual mojo::Array<serial::DeviceInfoPtr> GetDevices() override {
mojo::Array<serial::DeviceInfoPtr> devices(1);
devices[0] = serial::DeviceInfo::New();
devices[0]->path = "device";
@@ -62,7 +62,7 @@ class SerialConnectionTest : public testing::Test, public mojo::ErrorHandler {
receive_error_(serial::RECEIVE_ERROR_NONE),
expected_event_(EVENT_NONE) {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
message_loop_.reset(new base::MessageLoop);
mojo::InterfacePtr<serial::SerialService> service;
mojo::BindToProxy(
@@ -168,7 +168,7 @@ class SerialConnectionTest : public testing::Test, public mojo::ErrorHandler {
EventReceived(EVENT_RECEIVE_ERROR);
}
- virtual void OnConnectionError() OVERRIDE {
+ virtual void OnConnectionError() override {
EventReceived(EVENT_ERROR);
FAIL() << "Connection error";
}
« no previous file with comments | « device/serial/serial_connection.h ('k') | device/serial/serial_device_enumerator_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698