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

Issue 2808353004: bluetooth: Rename Is*Available to Is*Supported (Closed)

Created:
3 years, 8 months ago by ortuno
Modified:
3 years, 8 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, davemoore+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, extensions-reviews_chromium.org, hansberry+watch-tether_chromium.org, hidehiko+watch_chromium.org, jam, jhawkins+watch-tether_chromium.org, jlklein+watch-tether_chromium.org, khorimoto+watch-tether_chromium.org, lesliewatkins+watch-tether_chromium.org, lhchavez+watch_chromium.org, ortuno+watch_chromium.org, oshima+watch_chromium.org, rkc, scheib+watch_chromium.org, tengs+watch-tether_chromium.org, victorhsieh+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Rename Is*Available to Is*Supported IsBluetoothAdapterAvailable is a misnomer. It actually returns whether or not the platform supports Bluetooth regardless of the presence of an actual Bluetooth radio or adapter. Similarly IsLowEnergyAvaiable returns whether the platform supports Low Energy. Renames IsBluetoothAdapterAvailable and IsLowEnergyAvailable to IsBluetoothSupported and IsLowEnergySupported BUG=710756 Review-Url: https://codereview.chromium.org/2808353004 Cr-Commit-Position: refs/heads/master@{#465844} Committed: https://chromium.googlesource.com/chromium/src/+/57ed4544b704badc3e547fc87b06b4ddcabe2869

Patch Set 1 : merge #

Total comments: 8

Patch Set 2 : Address comments #

Patch Set 3 : Increase win to Win10 #

Total comments: 2

Patch Set 4 : Add const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -43 lines) Patch
M chrome/browser/chromeos/arc/intent_helper/arc_settings_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/easy_unlock_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/components/tether/initializer.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/pairing/bluetooth_controller_pairing_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M components/proximity_auth/ble/bluetooth_low_energy_connection_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/bluetooth_connection.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/bluetooth_connection_finder.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/bluetooth_connection_finder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/bluetooth_connection_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/proximity_monitor_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/unlock_manager_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/adapter_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_factory.h View 1 chunk +11 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory.cc View 1 2 3 chunks +16 lines, -9 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory_wrapper.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_factory_wrapper.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M extensions/browser/api/bluetooth/bluetooth_event_router.cc View 1 chunk +1 line, -2 lines 0 comments Download
M extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 50 (35 generated)
ortuno
scheib: PTAL
3 years, 8 months ago (2017-04-13 01:52:21 UTC) #19
Kyle Horimoto
https://codereview.chromium.org/2808353004/diff/60001/chromeos/components/tether/initializer.cc File chromeos/components/tether/initializer.cc (right): https://codereview.chromium.org/2808353004/diff/60001/chromeos/components/tether/initializer.cc#newcode55 chromeos/components/tether/initializer.cc:55: PA_LOG(WARNING) << "Bluetooth is unavailable on this device; cannot ...
3 years, 8 months ago (2017-04-13 01:55:36 UTC) #21
scheib
https://codereview.chromium.org/2808353004/diff/60001/components/pairing/bluetooth_host_pairing_controller.cc File components/pairing/bluetooth_host_pairing_controller.cc (right): https://codereview.chromium.org/2808353004/diff/60001/components/pairing/bluetooth_host_pairing_controller.cc#newcode474 components/pairing/bluetooth_host_pairing_controller.cc:474: bool bluetooth_available = var name https://codereview.chromium.org/2808353004/diff/60001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): ...
3 years, 8 months ago (2017-04-13 05:06:26 UTC) #24
ortuno
https://codereview.chromium.org/2808353004/diff/60001/chromeos/components/tether/initializer.cc File chromeos/components/tether/initializer.cc (right): https://codereview.chromium.org/2808353004/diff/60001/chromeos/components/tether/initializer.cc#newcode55 chromeos/components/tether/initializer.cc:55: PA_LOG(WARNING) << "Bluetooth is unavailable on this device; cannot ...
3 years, 8 months ago (2017-04-18 01:25:42 UTC) #27
scheib
lgtm https://codereview.chromium.org/2808353004/diff/60001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): https://codereview.chromium.org/2808353004/diff/60001/device/bluetooth/bluetooth_adapter_factory.cc#newcode83 device/bluetooth/bluetooth_adapter_factory.cc:83: return base::win::GetVersion() >= base::win::VERSION_WIN8; On 2017/04/18 01:25:42, ortuno ...
3 years, 8 months ago (2017-04-18 03:38:41 UTC) #30
ortuno
https://codereview.chromium.org/2808353004/diff/60001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): https://codereview.chromium.org/2808353004/diff/60001/device/bluetooth/bluetooth_adapter_factory.cc#newcode83 device/bluetooth/bluetooth_adapter_factory.cc:83: return base::win::GetVersion() >= base::win::VERSION_WIN8; On 2017/04/18 at 03:38:41, scheib ...
3 years, 8 months ago (2017-04-18 07:05:34 UTC) #31
ortuno
lhchavez: PTAL at arc/ tbarzic: PTAL at chrome/browser/signin/easy_unlock, components/proximity_auth/ khorimoto: PTAL at tether/ achuith: PTAL ...
3 years, 8 months ago (2017-04-18 07:13:46 UTC) #33
achuithb
components/pairing lgtm https://codereview.chromium.org/2808353004/diff/100001/components/pairing/bluetooth_host_pairing_controller.cc File components/pairing/bluetooth_host_pairing_controller.cc (right): https://codereview.chromium.org/2808353004/diff/100001/components/pairing/bluetooth_host_pairing_controller.cc#newcode474 components/pairing/bluetooth_host_pairing_controller.cc:474: bool bluetooth_supported = nit: const
3 years, 8 months ago (2017-04-18 07:38:58 UTC) #36
Luis Héctor Chávez
*/arc/* lgtm
3 years, 8 months ago (2017-04-18 21:23:18 UTC) #39
Ken Rockot(use gerrit already)
rs lgtm
3 years, 8 months ago (2017-04-18 21:46:24 UTC) #40
tbarzic
lgtm
3 years, 8 months ago (2017-04-18 22:02:39 UTC) #41
Kyle Horimoto
lgtm
3 years, 8 months ago (2017-04-19 22:28:33 UTC) #42
ortuno
Thanks all. https://codereview.chromium.org/2808353004/diff/100001/components/pairing/bluetooth_host_pairing_controller.cc File components/pairing/bluetooth_host_pairing_controller.cc (right): https://codereview.chromium.org/2808353004/diff/100001/components/pairing/bluetooth_host_pairing_controller.cc#newcode474 components/pairing/bluetooth_host_pairing_controller.cc:474: bool bluetooth_supported = On 2017/04/18 at 07:38:57, ...
3 years, 8 months ago (2017-04-19 23:19:44 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808353004/120001
3 years, 8 months ago (2017-04-19 23:20:30 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 01:17:25 UTC) #50
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/57ed4544b704badc3e547fc87b06...

Powered by Google App Engine
This is Rietveld 408576698