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

Issue 2094633003: Bluetooth: Mac: implementation for start notification (Closed)

Created:
4 years, 6 months ago by jlebel
Modified:
4 years, 5 months ago
CC:
chromium-reviews, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@write_read_characteristicscan_servicescan_cleanup
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding implementation start characteristic notification BluetoothRemoteGattCharacteristicMac, and adding unit tests, mock and simulation. Stop notification will be done in a next patch, crbug/624019 BUG=609068 Committed: https://crrev.com/9db202163870c27fdcca79eb95e75a610e8f8a29 Cr-Commit-Position: refs/heads/master@{#402811}

Patch Set 1 #

Patch Set 2 : Implementation #

Patch Set 3 : StartNotifySession_Reentrant_Success_Success working #

Patch Set 4 : Tests working #

Total comments: 42

Patch Set 5 : Addressing ortuno's comment #

Total comments: 6

Patch Set 6 : Fixing last comments, and last unit test #

Total comments: 8

Patch Set 7 : Addressing msarda's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -86 lines) Patch
M device/bluetooth/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A + device/bluetooth/bluetooth_gatt_notify_session_mac.h View 1 2 chunks +10 lines, -10 lines 0 comments Download
A + device/bluetooth/bluetooth_gatt_notify_session_mac.mm View 1 1 chunk +7 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm View 2 chunks +12 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h View 1 2 3 4 5 6 3 chunks +15 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 2 3 4 5 6 8 chunks +89 lines, -22 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 5 18 chunks +81 lines, -21 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.h View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.mm View 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 chunks +30 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm View 1 3 chunks +28 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 1 chunk +10 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 1 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/40001
4 years, 5 months ago (2016-06-27 17:43:07 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/192267)
4 years, 5 months ago (2016-06-27 18:53:07 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/80001
4 years, 5 months ago (2016-06-28 15:05:26 UTC) #8
jlebel
Hello Giovanni, Can you review my implementation for characteristic notification on macOS? On start has ...
4 years, 5 months ago (2016-06-28 15:06:23 UTC) #10
ortuno
https://codereview.chromium.org/2094633003/diff/80001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/80001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates the |value_| and send notify the mac ...
4 years, 5 months ago (2016-06-28 16:24:50 UTC) #11
ortuno
4 years, 5 months ago (2016-06-28 16:24:54 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/251487)
4 years, 5 months ago (2016-06-28 16:43:55 UTC) #14
jlebel
Hello Giovanni, I've fixed my patch. Thanks, https://codereview.chromium.org/2094633003/diff/80001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/80001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates ...
4 years, 5 months ago (2016-06-28 18:09:53 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/100001
4 years, 5 months ago (2016-06-28 18:10:02 UTC) #18
ortuno
lgtm! bar some minor grammar issues https://codereview.chromium.org/2094633003/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates the ...
4 years, 5 months ago (2016-06-28 19:18:58 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/253954)
4 years, 5 months ago (2016-06-28 19:41:42 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/120001
4 years, 5 months ago (2016-06-28 21:03:46 UTC) #23
jlebel
Hello Giovanni Thanks for your comments. Jérôme, https://codereview.chromium.org/2094633003/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates ...
4 years, 5 months ago (2016-06-28 21:09:34 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/140001
4 years, 5 months ago (2016-06-28 21:09:47 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 00:47:01 UTC) #30
msarda
LGTM with nits. https://codereview.chromium.org/2094633003/diff/140001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/140001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates value_ and notifies the ...
4 years, 5 months ago (2016-06-29 07:57:39 UTC) #31
jlebel
https://codereview.chromium.org/2094633003/diff/140001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2094633003/diff/140001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode64 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:64: // Updates value_ and notifies the adapter of the ...
4 years, 5 months ago (2016-06-29 08:05:57 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2094633003/160001
4 years, 5 months ago (2016-06-29 08:06:19 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/247500)
4 years, 5 months ago (2016-06-29 11:12:19 UTC) #36
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/2094633003/160001
4 years, 5 months ago (2016-06-29 12:52:58 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 5 months ago (2016-06-29 15:04:04 UTC) #41
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 15:07:32 UTC) #43
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9db202163870c27fdcca79eb95e75a610e8f8a29
Cr-Commit-Position: refs/heads/master@{#402811}

Powered by Google App Engine
This is Rietveld 408576698