Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom |
| diff --git a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom |
| index 469e6b3d19a6cf0943951cf8b1094ebb5fd46a0d..6818f9bc9526d40203e6cbe6a716c22eb1066d37 100644 |
| --- a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom |
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom |
| @@ -97,6 +97,16 @@ interface WebBluetoothService { |
| // a device disconnects. |
| SetClient(associated WebBluetoothServiceClient client); |
| + // Creates a GATT Connection to a Bluetooth Device with |device_id| if a |
| + // connection to the device didn't exist already. If a GATT connection existed |
| + // already then this function increases the ref count to keep that connection |
|
Jeffrey Yasskin
2016/05/03 01:15:57
If the connection already existed, this should als
ortuno
2016/05/03 16:11:54
Should I add a TODO for that issue here?
Jeffrey Yasskin
2016/05/03 16:31:32
Oops, I meant to remove this comment: I think the
|
| + // alive. |
| + RemoteServerConnect(string device_id) => (WebBluetoothError error); |
| + |
| + // If a GATT connection exists for Device with |device_id| then decreases |
| + // the ref count for that connection. |
| + RemoteServerDisconnect(string device_id); |
| + |
| // Returns the first GATT Service with |service_uuid| of a Bluetooth Device |
| // with |device_id|. |
| RemoteServerGetPrimaryService( |