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

Unified Diff: device/bluetooth/bluetooth_adapter_factory.cc

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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 dfea7906944e9cfb011312c2c63d4a88481cbab0..c19ee1cb1653e45aa78698a2cefa95f09d8bae92 100644
--- a/device/bluetooth/bluetooth_adapter_factory.cc
+++ b/device/bluetooth/bluetooth_adapter_factory.cc
@@ -60,10 +60,8 @@ bool BluetoothAdapterFactory::IsBluetoothAdapterAvailable() {
if (default_adapter.Get())
return true;
#if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(OS_WIN) || \
- defined(OS_LINUX)
+ defined(OS_LINUX) || defined(OS_MACOSX)
return true;
-#elif defined(OS_MACOSX)
- return base::mac::IsOSLionOrLater();
ortuno 2016/04/25 20:32:32 You can also delete the "base/mac/mac_util.h" incl
Nico 2016/04/25 20:34:39 Done.
#else
return false;
#endif

Powered by Google App Engine
This is Rietveld 408576698