Chromium Code Reviews| Index: device/bluetooth/bluetooth_adapter_factory.h |
| diff --git a/device/bluetooth/bluetooth_adapter_factory.h b/device/bluetooth/bluetooth_adapter_factory.h |
| index 9b98a211559aeb80604f58179f420427665985f0..83386a81ac56a53248d80d4bec95ecbc452f2757 100644 |
| --- a/device/bluetooth/bluetooth_adapter_factory.h |
| +++ b/device/bluetooth/bluetooth_adapter_factory.h |
| @@ -29,6 +29,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterFactory { |
| // use. |
| static void GetAdapter(const AdapterCallback& callback); |
| + // Shutdown the adapter, ending reliance on other objects, and resulting in |
| + // the adapter's |IsPresent| returning false. |
| + static void Shutdown(); |
|
armansito
2015/01/14 19:52:43
Should this be ChromeOS only (i.e. within macros)?
scheib
2015/01/14 23:07:27
Done.
|
| + |
| // Sets the shared instance of the default adapter for testing purposes only, |
| // no reference is retained after completion of the call, removing the last |
| // reference will reset the factory. |