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 4ab42327fa9f2608e76c72d59f0e1de0ea384072..cbda772a316eb5a513d78fc877da36cc9b77fb46 100644 |
--- a/chrome/common/extensions/api/easy_unlock_private.idl |
+++ b/chrome/common/extensions/api/easy_unlock_private.idl |
@@ -185,6 +185,10 @@ namespace easyUnlockPrivate { |
callback SignInChallengeCallback = void(optional ArrayBuffer challenge, |
optional ArrayBuffer signedNonce); |
+ // Callback for |getConnectionInfo()| method. |
Yoyo Zhou
2015/01/08 20:23:05
nit: Callback for the ...
I think it's also worth
Tim Song
2015/01/09 00:31:46
Done.
|
+ callback ConnectionInfoCallback = void( |
+ long rssi, long transmit_power, long max_transmit_power); |
+ |
interface Functions { |
// Gets localized strings required to render the API. |
// |
@@ -315,6 +319,11 @@ namespace easyUnlockPrivate { |
// Gets the user's profile image as a bitmap. |
static void getUserImage(DataCallback callback); |
+ |
+ // Gets the connection info for the Bluetooth device identified by |
+ // deviceAddress. |
+ static void getConnectionInfo(DOMString deviceAddress, |
+ ConnectionInfoCallback callback); |
}; |
interface Events { |