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

Unified Diff: components/proximity_auth/bluetooth_connection_finder.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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: components/proximity_auth/bluetooth_connection_finder.h
diff --git a/components/proximity_auth/bluetooth_connection_finder.h b/components/proximity_auth/bluetooth_connection_finder.h
index 8de83b7707b62b59b01013bb2db89fd20e2a8afa..40b28dd4bbef276d7b1d4196e5e625fb1d94225e 100644
--- a/components/proximity_auth/bluetooth_connection_finder.h
+++ b/components/proximity_auth/bluetooth_connection_finder.h
@@ -30,20 +30,20 @@ class BluetoothConnectionFinder : public ConnectionFinder,
BluetoothConnectionFinder(const RemoteDevice& remote_device,
const device::BluetoothUUID& uuid,
const base::TimeDelta& polling_interval);
- virtual ~BluetoothConnectionFinder();
+ ~BluetoothConnectionFinder() override;
// ConnectionFinder:
- virtual void Find(const ConnectionCallback& connection_callback) override;
+ void Find(const ConnectionCallback& connection_callback) override;
protected:
// Exposed for mocking out the connection in tests.
virtual scoped_ptr<Connection> CreateConnection();
// BluetoothAdapter::Observer:
- virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter,
- bool present) override;
- virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
- bool powered) override;
+ void AdapterPresentChanged(device::BluetoothAdapter* adapter,
+ bool present) override;
+ void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
+ bool powered) override;
private:
// Returns true iff the Bluetooth adapter is ready to make connections.
@@ -64,10 +64,9 @@ class BluetoothConnectionFinder : public ConnectionFinder,
void OnAdapterInitialized(scoped_refptr<device::BluetoothAdapter> adapter);
// ConnectionObserver:
- virtual void OnConnectionStatusChanged(
- const Connection& connection,
- Connection::Status old_status,
- Connection::Status new_status) override;
+ void OnConnectionStatusChanged(const Connection& connection,
+ Connection::Status old_status,
+ Connection::Status new_status) override;
// The remote device to connect to.
const RemoteDevice remote_device_;
« no previous file with comments | « components/proximity_auth/bluetooth_connection.h ('k') | components/proximity_auth/bluetooth_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698