Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index 5184f2953a09bb018f56dc7192422b1156571e89..5d900ff55a67a650e60975e188115b6fae35164b 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -188,6 +188,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter |
static base::WeakPtr<BluetoothAdapter> CreateAdapter( |
const InitCallback& init_callback); |
+ // Shutdown the adapter, ending reliance on other objects, and resulting in |
+ // |IsPresent| returning false. |
+ virtual void Shutdown(); |
armansito
2015/01/14 19:52:43
Again, should this just be a BluetoothAdapterChrom
scheib
2015/01/14 23:07:26
Done.
|
+ |
// Returns a weak pointer to an existing adapter for testing purposes only. |
base::WeakPtr<BluetoothAdapter> GetWeakPtrForTesting(); |