Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index 63969fc3882370656ec79862a31874b166e29bef..71b44b9942134e24beb34aca4016f363fed4db56 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -221,7 +221,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter |
// Returns a weak pointer to an existing adapter for testing purposes only. |
base::WeakPtr<BluetoothAdapter> GetWeakPtrForTesting(); |
-#if defined(OS_CHROMEOS) |
+#if defined(OS_CHROMEOS) || defined(OS_LINUX) |
// Shutdown the adapter: tear down and clean up all objects owned by |
// BluetoothAdapter. After this call, the BluetoothAdapter will behave as if |
// no Bluetooth controller exists in the local system. |IsPresent| will return |