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

Issue 1973703002: Implement //device/bt changes for notifications. (Closed)

Created:
4 years, 7 months ago by rkc
Modified:
4 years, 7 months ago
Reviewers:
scheib, xiyuan
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@notifications_dbus
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement //device/bt changes for notifications. This CL implements the changes to the device::Bluetooth* classes and the changes to the BlueZ implementations of them for supporting notifications. Vincent, since this changes device::Bluetooth code and adds tests, an OWNERs review is needed. This is part 2 of of 2 CLs https://codereview.chromium.org/1974633002 https://codereview.chromium.org/1973703002 <<< R=scheib@chromium.org, xiyuan@chromium.org BUG=610393 Committed: https://crrev.com/d1e6dc42512184286e5275eb05a4fb7c8f062aa4 Cr-Commit-Position: refs/heads/master@{#393388}

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -7 lines) Patch
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_local_gatt_characteristic.h View 2 chunks +16 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc View 1 2 3 2 chunks +100 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_local_gatt_service.h View 1 chunk +14 lines, -0 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.h View 2 chunks +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 2 chunks +12 lines, -1 line 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h View 2 chunks +7 lines, -2 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc View 1 2 chunks +18 lines, -0 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_delegate_wrapper.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_bluez.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_bluez.cc View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M device/bluetooth/test/test_bluetooth_local_gatt_service_delegate.cc View 1 2 chunks +30 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (7 generated)
rkc
4 years, 7 months ago (2016-05-11 22:39:39 UTC) #1
scheib
https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode119 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:119: TEST_F(BluetoothLocalGattCharacteristicTest, StartAndStopNotifications) { Test Stop as well? https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/test/bluetooth_test.h File ...
4 years, 7 months ago (2016-05-12 16:53:19 UTC) #3
xiyuan
https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc File device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc (right): https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc#newcode7 device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc:7: #include <cstdint> nit: Do we still need a header ...
4 years, 7 months ago (2016-05-12 19:49:43 UTC) #4
rkc
https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode119 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:119: TEST_F(BluetoothLocalGattCharacteristicTest, StartAndStopNotifications) { On 2016/05/12 16:53:19, scheib wrote: > ...
4 years, 7 months ago (2016-05-12 20:12:50 UTC) #5
scheib
https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/test/bluetooth_test.h File device/bluetooth/test/bluetooth_test.h (right): https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/test/bluetooth_test.h#newcode265 device/bluetooth/test/bluetooth_test.h:265: // Simulates sending a value updated notification to a ...
4 years, 7 months ago (2016-05-12 20:38:28 UTC) #6
rkc
https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/test/bluetooth_test.h File device/bluetooth/test/bluetooth_test.h (right): https://codereview.chromium.org/1973703002/diff/1/device/bluetooth/test/bluetooth_test.h#newcode265 device/bluetooth/test/bluetooth_test.h:265: // Simulates sending a value updated notification to a ...
4 years, 7 months ago (2016-05-12 21:19:18 UTC) #7
scheib
Cross platform device/bluetooth files LGTM with one fix: https://codereview.chromium.org/1973703002/diff/40001/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1973703002/diff/40001/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode152 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:152: BluetoothLocalGattCharacteristic::NOTIFY_PROPERTY_NOT_SET, ...
4 years, 7 months ago (2016-05-12 21:26:59 UTC) #8
rkc
https://codereview.chromium.org/1973703002/diff/40001/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/1973703002/diff/40001/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode152 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:152: BluetoothLocalGattCharacteristic::NOTIFY_PROPERTY_NOT_SET, On 2016/05/12 21:26:59, scheib wrote: > I think ...
4 years, 7 months ago (2016-05-12 21:42:19 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/1973703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973703002/60001
4 years, 7 months ago (2016-05-12 21:43:33 UTC) #11
xiyuan
lgtm
4 years, 7 months ago (2016-05-12 22:35:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1973703002/60001
4 years, 7 months ago (2016-05-12 22:46:09 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-12 23:12:58 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 23:14:30 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d1e6dc42512184286e5275eb05a4fb7c8f062aa4
Cr-Commit-Position: refs/heads/master@{#393388}

Powered by Google App Engine
This is Rietveld 408576698