Index: chrome/common/extensions/api/easy_unlock_private.idl |
diff --git a/chrome/common/extensions/api/easy_unlock_private.idl b/chrome/common/extensions/api/easy_unlock_private.idl |
index 1648853257bfe8f14e563310b27b8da1a45a652b..731e5bbb231db37c8d4ee7ff42291f82617b843c 100644 |
--- a/chrome/common/extensions/api/easy_unlock_private.idl |
+++ b/chrome/common/extensions/api/easy_unlock_private.idl |
@@ -214,6 +214,20 @@ |
static void seekBluetoothDeviceByAddress(DOMString deviceAddress, |
optional EmptyCallback callback); |
+ // Connects the socket to a remote Bluetooth device over an insecure |
+ // connection, i.e. a connection that requests no bonding. Other than the |
Tim Song
2014/08/21 00:36:27
also mention "no MITM protection" as it's possible
Ilya Sherman
2014/08/21 00:53:24
Done.
|
+ // reduced security setting, behaves identically to the |
+ // chrome.bluetoothSocket.connect() function. |
+ // |socketId| : The socket identifier, as issued by the |
+ // chrome.bluetoothSocket API. |
+ // |address| : The address of the Bluetooth device. |
+ // |uuid| : The UUID of the service to connect to. |
+ // |callback| : Called when the connect attempt is complete. |
+ static void connectToBluetoothServiceInsecurely(long socketId, |
+ DOMString address, |
+ DOMString uuid, |
+ EmptyCallback callback); |
+ |
// Updates the screenlock state to reflect the Easy Unlock app state. |
static void updateScreenlockState(State state, |
optional EmptyCallback callback); |