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

Unified Diff: chrome/browser/mac/bluetooth_utility.mm

Issue 1849343003: mac: Remove IsOSSnowLeopard(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: chrome/browser/mac/bluetooth_utility.mm
diff --git a/chrome/browser/mac/bluetooth_utility.mm b/chrome/browser/mac/bluetooth_utility.mm
index 26824d9eca41d4fcd4fe5a9de9793f36c919ac23..f4d99898569a798aa18a4cf5aae55e3b853e1378 100644
--- a/chrome/browser/mac/bluetooth_utility.mm
+++ b/chrome/browser/mac/bluetooth_utility.mm
@@ -50,12 +50,6 @@ BluetoothAvailability GetBluetoothAvailability() {
if ([lmp_version intValue] < 6)
continue;
- // Check the supported features registry entry for Bluetooth LE
- // availability. The relevant bit has a different meaning on OSX 10.6, and
- // could change again in the future.
- if (base::mac::IsOSSnowLeopard())
- return BLUETOOTH_AVAILABLE_LE_UNKNOWN;
-
NSData* data = base::mac::ObjCCast<NSData>(
[objc_dict objectForKey:@"HCISupportedFeatures"]);
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_test.cc ('k') | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698