Index: device/bluetooth/bluetooth_adapter.h |
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h |
index 801a1fd43f3c253412744adb56d1e4776d493ca6..047952707b6328b275df99a2665729a31f526413 100644 |
--- a/device/bluetooth/bluetooth_adapter.h |
+++ b/device/bluetooth/bluetooth_adapter.h |
@@ -216,7 +216,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 |