| Index: content/renderer/bluetooth/web_bluetooth_impl.h
|
| diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h
|
| index 086266f74aa9954a73f7ce46e2a4f30532cc5caf..a03ccdbef713e47aada396d2f243c1385a7c0cd1 100644
|
| --- a/content/renderer/bluetooth/web_bluetooth_impl.h
|
| +++ b/content/renderer/bluetooth/web_bluetooth_impl.h
|
| @@ -86,7 +86,7 @@ class CONTENT_EXPORT WebBluetoothImpl
|
| void RemoteCharacteristicValueChanged(
|
| const mojo::String& characteristic_instance_id,
|
| mojo::Array<uint8_t> value) override;
|
| - void GattServerDisconnected(const mojo::String& device_id) override;
|
| + void GattServerDisconnected(const WebBluetoothDeviceId& device_id) override;
|
|
|
| // Callbacks for WebBluetoothService calls:
|
| void OnRequestDeviceComplete(
|
| @@ -140,7 +140,9 @@ class CONTENT_EXPORT WebBluetoothImpl
|
| // Map of device_ids to WebBluetoothDevices. Added in connect() and removed in
|
| // disconnect(). This means a device may not actually be connected while in
|
| // this map, but that it will definitely be removed when the page navigates.
|
| - std::unordered_map<std::string, blink::WebBluetoothDevice*>
|
| + std::unordered_map<WebBluetoothDeviceId,
|
| + blink::WebBluetoothDevice*,
|
| + WebBluetoothDeviceIdHash>
|
| connected_devices_;
|
|
|
| // Binding associated with |web_bluetooth_service_|.
|
|
|