| Index: device/bluetooth/bluetooth_device_win.h
|
| diff --git a/device/bluetooth/bluetooth_device_win.h b/device/bluetooth/bluetooth_device_win.h
|
| index 3533c81a8a57616a020776bd77037f47b564e216..4c43448638eb9ddeb5a63db1ee2ba5615b33a2e3 100644
|
| --- a/device/bluetooth/bluetooth_device_win.h
|
| +++ b/device/bluetooth/bluetooth_device_win.h
|
| @@ -41,6 +41,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
|
| uint16_t GetProductID() const override;
|
| uint16_t GetDeviceID() const override;
|
| uint16_t GetAppearance() const override;
|
| + base::Optional<std::string> GetName() const override;
|
| bool IsPaired() const override;
|
| bool IsConnected() const override;
|
| bool IsGattConnected() const override;
|
| @@ -92,7 +93,6 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
|
|
|
| protected:
|
| // BluetoothDevice override
|
| - std::string GetDeviceName() const override;
|
| void CreateGattConnectionImpl() override;
|
| void DisconnectGatt() override;
|
|
|
| @@ -134,7 +134,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceWin : public BluetoothDevice {
|
| uint32_t bluetooth_class_;
|
|
|
| // The name of the device, as supplied by the remote device.
|
| - std::string name_;
|
| + base::Optional<std::string> name_;
|
|
|
| // The Bluetooth address of the device.
|
| std::string address_;
|
|
|