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

Issue 2039773005: Add support in Chrome to send notifications to a specific device. (Closed)

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

Description

Add support in Chrome to send notifications to a specific device. This CL adds the Chrome side support for sending notications to a specific device as well as specifying whether an indiciation or notification should be used. Reviews requested: xiyuan@ - general review scheib@ - owner's review for the tests R=scheib@chromium.org, xiyuan@chromium.org BUG=617745 Committed: https://crrev.com/29d3f15b5d1e6e99da160f46e29231c68e5f3938 Cr-Commit-Position: refs/heads/master@{#399475}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -44 lines) Patch
M device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc View 1 2 3 chunks +59 lines, -14 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.h View 1 chunk +6 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 chunk +12 lines, -3 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.cc View 1 chunk +2 lines, -1 line 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider.h View 1 chunk +4 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h View 1 chunk +3 lines, -1 line 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h View 1 chunk +3 lines, -1 line 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.h View 1 2 5 chunks +14 lines, -5 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 1 2 2 chunks +20 lines, -2 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_bluez.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_bluez.cc View 1 2 3 chunks +19 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
rkc
4 years, 6 months ago (2016-06-06 20:51:28 UTC) #1
xiyuan
lgtm https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode56 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:56: std::get<0>(actual_notification)); nit: #include <tuple> ?
4 years, 6 months ago (2016-06-06 21:49:30 UTC) #2
scheib
Tests look OK, but please: https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h File device/bluetooth/test/bluetooth_test.h (right): https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h#newcode46 device/bluetooth/test/bluetooth_test.h:46: using NotificationType = std::tuple<std::string, ...
4 years, 6 months ago (2016-06-07 05:10:04 UTC) #3
rkc
https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc#newcode56 device/bluetooth/bluetooth_local_gatt_characteristic_unittest.cc:56: std::get<0>(actual_notification)); On 2016/06/06 21:49:29, xiyuan wrote: > nit: #include ...
4 years, 6 months ago (2016-06-09 21:08:27 UTC) #4
scheib
https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h File device/bluetooth/test/bluetooth_test.h (right): https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h#newcode46 device/bluetooth/test/bluetooth_test.h:46: using NotificationType = std::tuple<std::string, std::vector<uint8_t>, bool>; On 2016/06/09 21:08:27, ...
4 years, 6 months ago (2016-06-09 21:34:35 UTC) #5
rkc
https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h File device/bluetooth/test/bluetooth_test.h (right): https://codereview.chromium.org/2039773005/diff/1/device/bluetooth/test/bluetooth_test.h#newcode46 device/bluetooth/test/bluetooth_test.h:46: using NotificationType = std::tuple<std::string, std::vector<uint8_t>, bool>; On 2016/06/09 21:34:35, ...
4 years, 6 months ago (2016-06-12 00:24:28 UTC) #6
scheib
LGTM
4 years, 6 months ago (2016-06-13 06:44:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039773005/40001
4 years, 6 months ago (2016-06-13 16:18:24 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-13 17:43:05 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 17:43:23 UTC) #12
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/29d3f15b5d1e6e99da160f46e29231c68e5f3938 Cr-Commit-Position: refs/heads/master@{#399475}
4 years, 6 months ago (2016-06-13 17:44:35 UTC) #14
rkc
4 years, 6 months ago (2016-06-16 00:04:33 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2076433002/ by rkc@chromium.org.

The reason for reverting is: Original bug is not WontFix.
.

Powered by Google App Engine
This is Rietveld 408576698