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

Issue 1984723006: Add implementation for parsing device info in read/write attribute calls. (Closed)

Created:
4 years, 7 months ago by rkc
Modified:
4 years, 7 months ago
Reviewers:
xiyuan, scheib
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, scheib+watch_chromium.org, ortuno+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@devices_dbus_readwrite
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add implementation for parsing device info in read/write attribute calls. This CL adds the actual DBus implementation for parsing the device information from the options dictionaries now passed up from BlueZ with the GATT attribute value read/write request calls. It also plumbs the device information up to the Chrome app getting these requests. R=xiyuan@chromium.org BUG=611862 Committed: https://crrev.com/b3b024b69a6e3eabeb6cf6edd945f6f4d4f74067 Cr-Commit-Position: refs/heads/master@{#394282}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : gyp fix #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -7 lines) Patch
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 8 chunks +18 lines, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc View 1 3 chunks +26 lines, -4 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h View 1 1 chunk +22 lines, -3 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.cc View 1 4 chunks +103 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (10 generated)
rkc
4 years, 7 months ago (2016-05-16 23:22:35 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984723006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984723006/20001
4 years, 7 months ago (2016-05-17 05:30:43 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/201710)
4 years, 7 months ago (2016-05-17 05:49:48 UTC) #5
rkc
gyp fix
4 years, 7 months ago (2016-05-17 08:12:11 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984723006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984723006/40001
4 years, 7 months ago (2016-05-17 08:14:46 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 12:20:01 UTC) #10
xiyuan
lgtm https://codereview.chromium.org/1984723006/diff/40001/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc File device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc (right): https://codereview.chromium.org/1984723006/diff/40001/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc#newcode17 device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc:17: const char kDeviceField[] = "device"; nit: const -> ...
4 years, 7 months ago (2016-05-17 18:06:29 UTC) #11
rkc
https://codereview.chromium.org/1984723006/diff/40001/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc File device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc (right): https://codereview.chromium.org/1984723006/diff/40001/device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc#newcode17 device/bluetooth/dbus/bluetooth_gatt_attribute_helpers.cc:17: const char kDeviceField[] = "device"; On 2016/05/17 18:06:29, xiyuan ...
4 years, 7 months ago (2016-05-17 18:42:59 UTC) #12
scheib
LGTM
4 years, 7 months ago (2016-05-17 20:03:58 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984723006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984723006/60001
4 years, 7 months ago (2016-05-17 21:30:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1984723006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1984723006/60001
4 years, 7 months ago (2016-05-17 22:53:54 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-18 00:28:38 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 00:30:03 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b3b024b69a6e3eabeb6cf6edd945f6f4d4f74067
Cr-Commit-Position: refs/heads/master@{#394282}

Powered by Google App Engine
This is Rietveld 408576698