| Index: chrome/common/extensions/api/experimental_bluetooth.idl
|
| ===================================================================
|
| --- chrome/common/extensions/api/experimental_bluetooth.idl (revision 157029)
|
| +++ chrome/common/extensions/api/experimental_bluetooth.idl (working copy)
|
| @@ -71,11 +71,6 @@
|
| // Only devices providing a service with a name that matches |name| will be
|
| // returned.
|
| DOMString? name;
|
| -
|
| - // Called for each matching device. Note that a service discovery request
|
| - // must be made to each non-matching device before it can be definitively
|
| - // excluded. This can take some time.
|
| - DeviceCallback deviceCallback;
|
| };
|
|
|
| // Options for the getServices function.
|
| @@ -153,15 +148,12 @@
|
| // there is no adapater available.
|
| static void getName(NameCallback callback);
|
|
|
| - // Get a bluetooth devices known to the system. Known devices are either
|
| - // currently bonded, or have been bonded in the past.
|
| - // |options| : Controls which devices are returned and provides
|
| - // |deviceCallback|, which is called for each matching device.
|
| - // |callback| : Called when the search is completed.
|
| - // |options.deviceCallback| will not be called after
|
| - // |callback| has been called.
|
| + // Get a list of Bluetooth devices.
|
| + // NOTE: This API is likely to change. Please see crbug.com/134545
|
| + // |options| : Controls which devices are returned.
|
| + // |callback| : Called with an array of Device objects.
|
| static void getDevices(GetDevicesOptions options,
|
| - ResultCallback callback);
|
| + DevicesCallback callback);
|
|
|
| // Get a list of services provided by a device.
|
| static void getServices(GetServicesOptions options,
|
|
|