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..0c6e33d43e7ea309d083bd6b0fb9f7b569f1958f 100644 |
| --- a/device/bluetooth/bluetooth_adapter_factory.h |
| +++ b/device/bluetooth/bluetooth_adapter_factory.h |
| @@ -29,6 +29,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterFactory { |
| // use. |
| static void GetAdapter(const AdapterCallback& callback); |
| +#if defined(OS_CHROMEOS) |
| + // Shutdown the adapter, ending reliance DBusThreadManager, and resulting in |
|
armansito
2015/01/14 23:49:47
nit: I would make this a bit more descriptive, may
scheib
2015/01/15 00:03:40
Done.
|
| + // the adapter's |IsPresent| returning false. |
| + static void OnDBusThreadManagerShutdown(); |
| +#endif |
| + |
| // 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. |