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

Issue 2384463002: bluetooth: mac: Reject requestDevice promise if Mac version is <= 10.9 (Closed)

Created:
4 years, 2 months ago by François Beaufort
Modified:
4 years, 2 months ago
CC:
blink-reviews, chromium-reviews, haraken, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: mac: Reject requestDevice promise if Mac version is <= 10.9 BUG=651350 Committed: https://crrev.com/30846487078f8a61467d1b39b12e41cfe3bed524 Cr-Commit-Position: refs/heads/master@{#423155}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address Gio's feedback #

Patch Set 3 : Add missing #if defined(OS_MACOSX) #

Total comments: 1

Patch Set 4 : Fix nit #

Total comments: 1

Patch Set 5 : Fix unreachable code #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -9 lines) Patch
M content/browser/bluetooth/bluetooth_metrics.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory.h View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory.cc View 1 2 3 4 2 chunks +23 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory_wrapper.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_factory_wrapper.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (25 generated)
ortuno
In the latest iteration, the tests that are failing are tests that call requestDevice() multiple ...
4 years, 2 months ago (2016-10-04 03:20:24 UTC) #2
François Beaufort
Thanks Giovanni! https://codereview.chromium.org/2384463002/diff/100001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/2384463002/diff/100001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode343 content/browser/bluetooth/web_bluetooth_service_impl.cc:343: if (!BluetoothAdapterFactoryWrapper::Get().IsLowEnergyAvailable()) { On 2016/10/04 03:20:24, ortuno ...
4 years, 2 months ago (2016-10-04 10:00:22 UTC) #8
ortuno
lgtm https://codereview.chromium.org/2384463002/diff/100001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): https://codereview.chromium.org/2384463002/diff/100001/device/bluetooth/bluetooth_adapter_factory.cc#newcode75 device/bluetooth/bluetooth_adapter_factory.cc:75: #if defined(OS_ANDROID) || defined(OS_CHROMEOS) || defined(OS_WIN) || \ ...
4 years, 2 months ago (2016-10-04 21:23:16 UTC) #9
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/2384463002/120001
4 years, 2 months ago (2016-10-05 05:04:40 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/273922)
4 years, 2 months ago (2016-10-05 05:14:18 UTC) #13
François Beaufort
Hello, Ilya, please review changes in tools/metrics/histograms/histograms.xml Daniel, please review changes in third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom Thank you ...
4 years, 2 months ago (2016-10-05 06:41:12 UTC) #15
dcheng
mojo lgtm, but i think the CL might need #if defined(OS_MACOSX) around one of the ...
4 years, 2 months ago (2016-10-05 06:47:42 UTC) #16
Ilya Sherman
histograms.xml lgtm
4 years, 2 months ago (2016-10-05 06:49:35 UTC) #17
François Beaufort
On 2016/10/05 06:47:42, dcheng wrote: > mojo lgtm, but i think the CL might need ...
4 years, 2 months ago (2016-10-05 08:49:28 UTC) #18
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/2384463002/140001
4 years, 2 months ago (2016-10-05 08:49:53 UTC) #21
dcheng
(still lgtm though) https://codereview.chromium.org/2384463002/diff/140001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): https://codereview.chromium.org/2384463002/diff/140001/device/bluetooth/bluetooth_adapter_factory.cc#newcode11 device/bluetooth/bluetooth_adapter_factory.cc:11: #if defined(OS_MACOSX) Nit: platform-specific includes guarded ...
4 years, 2 months ago (2016-10-05 08:56:48 UTC) #22
François Beaufort
On 2016/10/05 08:56:48, dcheng wrote: > (still lgtm though) > > https://codereview.chromium.org/2384463002/diff/140001/device/bluetooth/bluetooth_adapter_factory.cc > File device/bluetooth/bluetooth_adapter_factory.cc ...
4 years, 2 months ago (2016-10-05 09:01:40 UTC) #24
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/2384463002/160001
4 years, 2 months ago (2016-10-05 09:01:59 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/292211)
4 years, 2 months ago (2016-10-05 09:46:15 UTC) #29
sdefresne
https://codereview.chromium.org/2384463002/diff/160001/device/bluetooth/bluetooth_adapter_factory.cc File device/bluetooth/bluetooth_adapter_factory.cc (right): https://codereview.chromium.org/2384463002/diff/160001/device/bluetooth/bluetooth_adapter_factory.cc#newcode85 device/bluetooth/bluetooth_adapter_factory.cc:85: return false; The above will expand to the following ...
4 years, 2 months ago (2016-10-05 11:08:30 UTC) #32
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/2384463002/180001
4 years, 2 months ago (2016-10-05 12:28:17 UTC) #37
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp: While running git apply --index -3 -p1; error: patch ...
4 years, 2 months ago (2016-10-05 12:34:39 UTC) #39
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/2384463002/200001
4 years, 2 months ago (2016-10-05 13:01:05 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 2 months ago (2016-10-05 14:35:59 UTC) #43
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 14:38:28 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/30846487078f8a61467d1b39b12e41cfe3bed524
Cr-Commit-Position: refs/heads/master@{#423155}

Powered by Google App Engine
This is Rietveld 408576698