Index: device/bluetooth/bluetooth_adapter_unittest.cc |
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc |
index 95a10f3faa0d56a21609b4803818028d06276a69..8d1db30689d6ae7765c7c54a7fb30a596c32e31b 100644 |
--- a/device/bluetooth/bluetooth_adapter_unittest.cc |
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc |
@@ -683,7 +683,7 @@ TEST_F(BluetoothTest, DiscoverMultipleLowEnergyDevices) { |
} |
#endif // defined(OS_ANDROID) || defined(OS_MACOSX) || defined(OS_WIN) |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
TEST_F(BluetoothTest, TogglePowerFakeAdapter) { |
InitWithFakeAdapter(); |
TestBluetoothAdapterObserver observer(adapter_); |
@@ -704,7 +704,7 @@ TEST_F(BluetoothTest, TogglePowerFakeAdapter) { |
EXPECT_TRUE(adapter_->IsPowered()); |
EXPECT_EQ(2, observer.powered_changed_count()); |
} |
-#endif // defined(OS_ANDROID) |
+#endif // defined(OS_ANDROID) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
#if defined(OS_ANDROID) |
TEST_F(BluetoothTest, TogglePowerBeforeScan) { |