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

Issue 2085293002: bluetooth: Call GattCharacteristicValueChanged after a read succeeds (Closed)

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

Description

bluetooth: Call GattCharacteristicValueChanged after a read succeeds Adds a call to NotifyGattCharacteristicValueChanged before calling the callback for ReadRemoteCharacteristic. BUG=622217 Committed: https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575 Cr-Commit-Position: refs/heads/master@{#401911}

Patch Set 1 #

Patch Set 2 : Add todo #

Patch Set 3 : Add windows #

Total comments: 4

Patch Set 4 : Address some comments #

Patch Set 5 : Use a lambda to check that GattCharacteristicValueChanged has been called #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -4 lines) Patch
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 3 chunks +42 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_win.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/test/test_bluetooth_adapter_observer.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (7 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/2085293002/20001
4 years, 6 months ago (2016-06-22 15:22:56 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085293002/40001
4 years, 6 months ago (2016-06-22 15:27:49 UTC) #4
ortuno
scheib: PTAL
4 years, 6 months ago (2016-06-22 16:37:28 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 16:55:37 UTC) #8
scheib
LGTM https://codereview.chromium.org/2085293002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2085293002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode416 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:416: // TODO(http://crbug.com/580406): Make sure GattCharacteristicValueChanged You can probably ...
4 years, 6 months ago (2016-06-23 20:36:49 UTC) #9
ortuno
Thanks! https://codereview.chromium.org/2085293002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2085293002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode416 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:416: // TODO(http://crbug.com/580406): Make sure GattCharacteristicValueChanged On 2016/06/23 at ...
4 years, 6 months ago (2016-06-23 22:57:41 UTC) #10
scheib
LGTM still, Too bad about the lambda.
4 years, 6 months ago (2016-06-24 00:06:42 UTC) #11
ortuno
TIL: you can use a labmda as a callback if you cast it to a ...
4 years, 6 months ago (2016-06-24 15:50:25 UTC) #13
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/2085293002/80001
4 years, 6 months ago (2016-06-24 15:51:03 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-24 18:35:49 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 18:36:56 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/32321de73aacae1e87fca09045658aeeb6858575
Cr-Commit-Position: refs/heads/master@{#401911}

Powered by Google App Engine
This is Rietveld 408576698