Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index f1a7f51114dbc4008e8c585219204ed8c85a5dac..7ea7095c4a11b721c704cd83ff31745aad8dcce3 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -86,10 +86,10 @@ class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> { |
// The address of this adapter. The address format is "XX:XX:XX:XX:XX:XX", |
// where each XX is a hexadecimal number. |
- virtual const std::string& address() const; |
+ virtual std::string address() const = 0; |
// The name of the adapter. |
- virtual const std::string& name() const; |
+ virtual std::string name() const = 0; |
// Indicates whether the adapter is initialized and ready to use. |
virtual bool IsInitialized() const = 0; |
@@ -157,12 +157,6 @@ class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> { |
BluetoothAdapter(); |
virtual ~BluetoothAdapter(); |
- // Address of the adapter. |
- std::string address_; |
- |
- // Name of the adapter. |
- std::string name_; |
- |
// Devices paired with, connected to, discovered by, or visible to the |
// adapter. The key is the Bluetooth address of the device and the value |
// is the BluetoothDevice object whose lifetime is managed by the |