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()); |
} |