Index: chrome/common/extensions/api/experimental_bluetooth.idl |
diff --git a/chrome/common/extensions/api/experimental_bluetooth.idl b/chrome/common/extensions/api/experimental_bluetooth.idl |
index a95c4b713d2debd88e6d4ec2fe3a6660804b03f1..03af41e91ecf41a98014f2899ba5ee975453850f 100644 |
--- a/chrome/common/extensions/api/experimental_bluetooth.idl |
+++ b/chrome/common/extensions/api/experimental_bluetooth.idl |
@@ -54,6 +54,7 @@ namespace experimental.bluetooth { |
callback DataCallback = void (ArrayBuffer result); |
callback DeviceCallback = void (Device device); |
callback DevicesCallback = void (Device[] result); |
+ callback NameCallback = void (DOMString result); |
callback OutOfBandPairingDataCallback = void (OutOfBandPairingData data); |
callback ResultCallback = void (); |
callback ServicesCallback = void(ServiceRecord[] result); |
@@ -141,6 +142,10 @@ namespace experimental.bluetooth { |
// |callback| : Called with the address, or null if there was an error. |
static void getAddress(AddressCallback callback); |
+ // Get the name of the Bluetooth adapter. |
+ // |callback| : Called with the name, or null if there was an error. |
asargent_no_longer_on_chrome
2012/08/20 19:07:19
documentation nit: from a glance at the implementa
bryeung
2012/08/20 23:13:19
Done.
|
+ static void getName(NameCallback callback); |
+ |
// Get a list of bluetooth devices. |
// NOTE: This API is likely to change. Please see crbug.com/134545 |
// |options| : Controls which devices are returned. |