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

Unified Diff: components/proximity_auth/bluetooth_connection_finder_unittest.cc

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 8 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: components/proximity_auth/bluetooth_connection_finder_unittest.cc
diff --git a/components/proximity_auth/bluetooth_connection_finder_unittest.cc b/components/proximity_auth/bluetooth_connection_finder_unittest.cc
index fc0804ee50922e1c9760996141aa27ebba5f99d0..29561e8beae7c55198d519be4e2811babdfdf33e 100644
--- a/components/proximity_auth/bluetooth_connection_finder_unittest.cc
+++ b/components/proximity_auth/bluetooth_connection_finder_unittest.cc
@@ -35,15 +35,15 @@ const char kUuid[] = "DEADBEEF-CAFE-FEED-FOOD-D15EA5EBEEF";
class MockConnection : public Connection {
public:
MockConnection() : Connection(kRemoteDevice) {}
- virtual ~MockConnection() {}
+ ~MockConnection() override {}
MOCK_METHOD0(Connect, void());
using Connection::SetStatus;
private:
- void Disconnect() {}
- void SendMessageImpl(scoped_ptr<WireMessage> message) {}
+ void Disconnect() override {}
+ void SendMessageImpl(scoped_ptr<WireMessage> message) override {}
DISALLOW_COPY_AND_ASSIGN(MockConnection);
};
@@ -54,7 +54,7 @@ class MockBluetoothConnectionFinder : public BluetoothConnectionFinder {
: BluetoothConnectionFinder(kRemoteDevice,
device::BluetoothUUID(kUuid),
base::TimeDelta()) {}
- virtual ~MockBluetoothConnectionFinder() {}
+ ~MockBluetoothConnectionFinder() override {}
MOCK_METHOD0(CreateConnectionProxy, Connection*());
@@ -75,7 +75,7 @@ class MockBluetoothConnectionFinder : public BluetoothConnectionFinder {
using BluetoothConnectionFinder::AdapterPoweredChanged;
protected:
- virtual scoped_ptr<Connection> CreateConnection() override {
+ scoped_ptr<Connection> CreateConnection() override {
return make_scoped_ptr(CreateConnectionProxy());
}

Powered by Google App Engine
This is Rietveld 408576698