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

Issue 2853933002: bluetooth: macOS: Support for extra didConnectPeripheral event from macOS. (Closed)

Created:
3 years, 7 months ago by jlebel
Modified:
3 years, 7 months ago
Reviewers:
ortuno
CC:
chromium-reviews, mac-reviews_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: macOS: Support for extra didConnectPeripheral event from macOS. There is no need to discover services when receive an extra didConnectPeripheral event from macOS. BUG=681414 Review-Url: https://codereview.chromium.org/2853933002 Cr-Commit-Position: refs/heads/master@{#469493} Committed: https://chromium.googlesource.com/chromium/src/+/3f28cf2cfbf216ae1309895138d9bf25aebe068f

Patch Set 1 #

Total comments: 14

Patch Set 2 : . #

Patch Set 3 : Adding Android bug #

Total comments: 4

Patch Set 4 : Adding BluetoothLowEnergyDeviceMac::DidConnectPeripheral() #

Total comments: 4

Patch Set 5 : Fixing test for observer.device_changed_count() #

Total comments: 2

Patch Set 6 : Comment #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -6 lines) Patch
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_unittest.cc View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 4 5 6 2 chunks +7 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 4 5 6 5 chunks +25 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
jlebel
Hello Giovanni, Can you review this patch about the double peripheralDidConnect event from macOS? Thanks,
3 years, 7 months ago (2017-05-01 22:52:58 UTC) #5
ortuno
https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode194 device/bluetooth/bluetooth_low_energy_device_mac.mm:194: void BluetoothLowEnergyDeviceMac::DidConnectGatt() { Why can't we do this in ...
3 years, 7 months ago (2017-05-02 01:24:23 UTC) #12
jlebel
If we want to match Android behavior, this patch seems a bit useless (except the ...
3 years, 7 months ago (2017-05-02 19:54:46 UTC) #13
ortuno
https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_device_unittest.cc File device/bluetooth/bluetooth_device_unittest.cc (right): https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_device_unittest.cc#newcode1043 device/bluetooth/bluetooth_device_unittest.cc:1043: EXPECT_EQ(1, gatt_discovery_attempts_); On 2017/05/02 at 19:54:46, jlebel wrote: > ...
3 years, 7 months ago (2017-05-02 23:36:45 UTC) #14
jlebel
https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_device_unittest.cc File device/bluetooth/bluetooth_device_unittest.cc (right): https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_device_unittest.cc#newcode1043 device/bluetooth/bluetooth_device_unittest.cc:1043: EXPECT_EQ(1, gatt_discovery_attempts_); On 2017/05/02 23:36:45, ortuno wrote: > On ...
3 years, 7 months ago (2017-05-03 21:16:20 UTC) #15
ortuno
https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/40001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode194 device/bluetooth/bluetooth_low_energy_device_mac.mm:194: void BluetoothLowEnergyDeviceMac::DidConnectGatt() { On 2017/05/03 at 21:16:19, jlebel wrote: ...
3 years, 7 months ago (2017-05-04 00:31:04 UTC) #16
jlebel
https://codereview.chromium.org/2853933002/diff/80001/device/bluetooth/bluetooth_device_unittest.cc File device/bluetooth/bluetooth_device_unittest.cc (right): https://codereview.chromium.org/2853933002/diff/80001/device/bluetooth/bluetooth_device_unittest.cc#newcode1031 device/bluetooth/bluetooth_device_unittest.cc:1031: #if !defined(OS_ANDROID) On 2017/05/04 00:31:03, ortuno wrote: > #if ...
3 years, 7 months ago (2017-05-04 01:18:38 UTC) #18
ortuno
Code looks good. Just a couple of questions. https://codereview.chromium.org/2853933002/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode384 device/bluetooth/bluetooth_low_energy_device_mac.mm:384: DidConnectGatt(); ...
3 years, 7 months ago (2017-05-04 01:26:11 UTC) #19
jlebel
https://codereview.chromium.org/2853933002/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/120001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode384 device/bluetooth/bluetooth_low_energy_device_mac.mm:384: DidConnectGatt(); On 2017/05/04 01:26:11, ortuno wrote: > I wonder ...
3 years, 7 months ago (2017-05-04 01:46:48 UTC) #20
ortuno
lgtm! https://codereview.chromium.org/2853933002/diff/140001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/140001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode388 device/bluetooth/bluetooth_low_energy_device_mac.mm:388: // call twice, related to macOS bug. This ...
3 years, 7 months ago (2017-05-04 01:49:15 UTC) #21
jlebel
https://codereview.chromium.org/2853933002/diff/140001/device/bluetooth/bluetooth_low_energy_device_mac.mm File device/bluetooth/bluetooth_low_energy_device_mac.mm (right): https://codereview.chromium.org/2853933002/diff/140001/device/bluetooth/bluetooth_low_energy_device_mac.mm#newcode388 device/bluetooth/bluetooth_low_energy_device_mac.mm:388: // call twice, related to macOS bug. This second ...
3 years, 7 months ago (2017-05-04 16:12:00 UTC) #22
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/2853933002/120002
3 years, 7 months ago (2017-05-04 20:53:37 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/411121)
3 years, 7 months ago (2017-05-04 20:59:13 UTC) #27
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/2853933002/170001
3 years, 7 months ago (2017-05-04 21:30:41 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 22:45:12 UTC) #33
Message was sent while issue was closed.
Committed patchset #7 (id:170001) as
https://chromium.googlesource.com/chromium/src/+/3f28cf2cfbf216ae1309895138d9...

Powered by Google App Engine
This is Rietveld 408576698