Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4745)

Unified Diff: chrome/common/extensions/api/easy_unlock_private.idl

Issue 813303003: Add easyUnlockPrivate.getConnection API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698