| Index: device/bluetooth/bluetooth_adapter.h
|
| diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
|
| index 7c87eb835018f15fea211b56417618f81569f2a3..2a14e37532332564ca578527ad2cfeda4e802858 100644
|
| --- a/device/bluetooth/bluetooth_adapter.h
|
| +++ b/device/bluetooth/bluetooth_adapter.h
|
| @@ -422,7 +422,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
|
| // success.
|
| //
|
| // |discovery_filter| passed to AddDiscoverySession and RemoveDiscoverySession
|
| - // is owned by other objects and shall not be freed.
|
| + // is owned by other objects and shall not be freed. When the count is
|
| + // greater than 0 and AddDiscoverySession or RemoveDiscoverySession is called
|
| + // the filter being used by the underlying controller must be updated.
|
| //
|
| // These methods invoke |callback| for success and |error_callback| for
|
| // failures.
|
| @@ -433,6 +435,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
|
| BluetoothDiscoveryFilter* discovery_filter,
|
| const base::Closure& callback,
|
| const ErrorCallback& error_callback) = 0;
|
| +
|
| + // Used to set and update the discovery filter used by the underlying
|
| + // Bluetooth controller.
|
| virtual void SetDiscoveryFilter(
|
| scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
|
| const base::Closure& callback,
|
|
|