Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2405)

Unified Diff: device/bluetooth/bluetooth_adapter_factory.cc

Issue 180163009: chrome.bluetooth API improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix threading ownership related to ApiResourceManager<BluetoothApiSocket> and BluetoothSocketEventD… Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_adapter_factory.cc
diff --git a/device/bluetooth/bluetooth_adapter_factory.cc b/device/bluetooth/bluetooth_adapter_factory.cc
index c15d26a514b3082a1fe5c89649e88d70dbfedeba..bfdd6950db48784239067b2db5f853420c5877b2 100644
--- a/device/bluetooth/bluetooth_adapter_factory.cc
+++ b/device/bluetooth/bluetooth_adapter_factory.cc
@@ -68,8 +68,9 @@ bool BluetoothAdapterFactory::IsBluetoothAdapterAvailable() {
return true;
#elif defined(OS_MACOSX)
return base::mac::IsOSLionOrLater();
-#endif
+#else
return false;
+#endif
}
// static

Powered by Google App Engine
This is Rietveld 408576698