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

Unified Diff: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (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: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
index 82d2e49fdcd0ca050bf947b977f9bf9d8a26df51..81ad18c0ba9aa8d2fca404b37cb77ac94c67fc17 100644
--- a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
@@ -41,7 +41,7 @@ class BluetoothApiSocket : public ApiResource {
scoped_refptr<device::BluetoothSocket> socket,
const std::string& device_address,
const device::BluetoothUUID& uuid);
- virtual ~BluetoothApiSocket();
+ ~BluetoothApiSocket() override;
// Adopts a socket |socket| connected to a device with address
// |device_address| using the service with UUID |uuid|.
@@ -89,7 +89,7 @@ class BluetoothApiSocket : public ApiResource {
const device::BluetoothUUID& uuid() const { return uuid_; }
// Overriden from extensions::ApiResource.
- virtual bool IsPersistent() const override;
+ bool IsPersistent() const override;
const std::string* name() const { return name_.get(); }
void set_name(const std::string& name) { name_.reset(new std::string(name)); }

Powered by Google App Engine
This is Rietveld 408576698