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

Issue 2052513002: Read characteristic implementation on macOS (Closed)

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

Description

bluetooth: mac: read characteristic implementation Adding implementing read characteristic in BluetoothRemoteGattCharacteristicMac, and adding unit tests, mock and simulation. BUG=609066 Committed: https://crrev.com/e223e929756507526187534fdaf0d18e78550cb3 Cr-Commit-Position: refs/heads/master@{#402182}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Merge #

Patch Set 4 : Updating tests #

Patch Set 5 : Adding unit tests #

Patch Set 6 : Small update #

Patch Set 7 : Merge #

Patch Set 8 : Don't run tests when not supported #

Patch Set 9 : Read characteristics #

Patch Set 10 : Cleanup #

Patch Set 11 : Removing ReadRemoteCharacteristic_AfterDeleted test #

Total comments: 16

Patch Set 12 : Fixing ortuno comments #

Patch Set 13 : Still skipping reconnect-during-disconnected-event.html #

Patch Set 14 : Adding test and NotifyGattCharacteristicValueChanged #

Patch Set 15 : renaming characteristic_value_read_in_progress_ into characteristic_value_read_or_write_in_progress_ #

Patch Set 16 : Comment made to the wrong test #

Patch Set 17 : Test not meant to be commited #

Total comments: 8

Patch Set 18 : Addressing msarda's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -48 lines) Patch
M device/bluetooth/bluetooth_device_mac.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +31 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +9 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +51 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 15 chunks +49 lines, -12 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +13 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +35 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +23 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbservice_mac.mm View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 57 (30 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/40001
4 years, 6 months ago (2016-06-10 23:13:52 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/243047)
4 years, 6 months ago (2016-06-11 01:07:33 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/80001
4 years, 6 months ago (2016-06-13 15:17:40 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/80519)
4 years, 6 months ago (2016-06-13 15:27:03 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/100001
4 years, 6 months ago (2016-06-13 15:54:44 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86630) mac_chromium_rel_ng on ...
4 years, 6 months ago (2016-06-13 16:40:01 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/120001
4 years, 6 months ago (2016-06-15 16:38:07 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/21495) mac_chromium_compile_dbg_ng on ...
4 years, 6 months ago (2016-06-15 16:41:10 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/160001
4 years, 6 months ago (2016-06-15 23:54:49 UTC) #19
jlebel
Hello, I've implemented read for characteristic in macOS. Can you review my code? Thanks,
4 years, 6 months ago (2016-06-16 12:31:44 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/200001
4 years, 6 months ago (2016-06-16 12:45:16 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 14:32:14 UTC) #26
ortuno
https://codereview.chromium.org/2052513002/diff/200001/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm File device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm (right): https://codereview.chromium.org/2052513002/diff/200001/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm#newcode80 device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm:80: bridge_->DidReadValue(characteristic, error); We can't assume this a is Read ...
4 years, 6 months ago (2016-06-16 18:22:19 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/220001
4 years, 6 months ago (2016-06-20 19:04:26 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/241813)
4 years, 6 months ago (2016-06-20 20:23:07 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/380001
4 years, 6 months ago (2016-06-22 17:57:41 UTC) #38
jlebel
https://codereview.chromium.org/2052513002/diff/200001/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm File device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm (right): https://codereview.chromium.org/2052513002/diff/200001/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm#newcode80 device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm:80: bridge_->DidReadValue(characteristic, error); On 2016/06/16 18:22:18, ortuno wrote: > We ...
4 years, 6 months ago (2016-06-22 18:03:59 UTC) #39
ortuno
lgtm!
4 years, 6 months ago (2016-06-22 18:08:15 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052513002/420001
4 years, 6 months ago (2016-06-22 19:42:19 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 21:21:24 UTC) #44
msarda
LGTM with nits. https://codereview.chromium.org/2052513002/diff/420001/device/bluetooth/bluetooth_device_mac.mm File device/bluetooth/bluetooth_device_mac.mm (right): https://codereview.chromium.org/2052513002/diff/420001/device/bluetooth/bluetooth_device_mac.mm#newcode22 device/bluetooth/bluetooth_device_mac.mm:22: // TODO(http://crbug.com/585894): Need to convert the ...
4 years, 5 months ago (2016-06-27 11:52:47 UTC) #45
jlebel
https://codereview.chromium.org/2052513002/diff/420001/device/bluetooth/bluetooth_device_mac.mm File device/bluetooth/bluetooth_device_mac.mm (right): https://codereview.chromium.org/2052513002/diff/420001/device/bluetooth/bluetooth_device_mac.mm#newcode22 device/bluetooth/bluetooth_device_mac.mm:22: // TODO(http://crbug.com/585894): Need to convert the error. On 2016/06/27 ...
4 years, 5 months ago (2016-06-27 12:09:20 UTC) #46
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/2052513002/440001
4 years, 5 months ago (2016-06-27 12:30:14 UTC) #49
commit-bot: I haz the power
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/192064)
4 years, 5 months ago (2016-06-27 13:09:37 UTC) #51
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/2052513002/440001
4 years, 5 months ago (2016-06-27 15:04:38 UTC) #53
commit-bot: I haz the power
Committed patchset #18 (id:440001)
4 years, 5 months ago (2016-06-27 15:23:11 UTC) #55
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 15:26:04 UTC) #57
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/e223e929756507526187534fdaf0d18e78550cb3
Cr-Commit-Position: refs/heads/master@{#402182}

Powered by Google App Engine
This is Rietveld 408576698