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

Issue 1149883011: bluetooth: Browser-side implementation of readValue (Closed)

Created:
5 years, 6 months ago by ortuno
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-get-characteristic-initial
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Browser-side implementation of readValue This is the third of three patches to implement readValue: [1] http://crrev.com/1168113008 [2] This patch. [3] http://crrev.com/1147243004 BUG=496379 Committed: https://crrev.com/006cb4a39d52c747a95b996c19b6ed1906c53bb6 Cr-Commit-Position: refs/heads/master@{#334189}

Patch Set 1 : readValue browser impl #

Patch Set 2 : Fix bad_messages.h and histrograms.xml #

Total comments: 11

Patch Set 3 : Address jyasskin's comments. #

Patch Set 4 : Add unreadable characteristic. #

Total comments: 10

Patch Set 5 : Fix histrograms.xml and bad_messages.h #

Patch Set 6 : Address scheib's comments. #

Total comments: 2

Patch Set 7 : Moar details about Reconnection address. #

Patch Set 8 : Fix merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -13 lines) Patch
M content/browser/bad_message.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 2 4 chunks +16 lines, -1 line 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 4 5 5 chunks +93 lines, -3 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.h View 3 chunks +11 lines, -0 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.cc View 1 2 4 chunks +41 lines, -0 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/bluetooth/bluetooth_messages.h View 2 chunks +18 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 2 3 2 chunks +22 lines, -6 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_service.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_service.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
ortuno
jyasskin: PTAL
5 years, 6 months ago (2015-06-09 20:17:01 UTC) #7
Jeffrey Yasskin
https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode260 content/browser/bluetooth/bluetooth_dispatcher_host.cc:260: thread_id, request_id, BluetoothError::NETWORK_ERROR)); Hm, I'm not sure this is ...
5 years, 6 months ago (2015-06-10 21:03:45 UTC) #8
ortuno
@jyasskin: Thanks! https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode260 content/browser/bluetooth/bluetooth_dispatcher_host.cc:260: thread_id, request_id, BluetoothError::NETWORK_ERROR)); On 2015/06/10 at 21:03:45, ...
5 years, 6 months ago (2015-06-10 22:03:01 UTC) #9
Jeffrey Yasskin
LGTM https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode416 content/browser/bluetooth/bluetooth_dispatcher_host.cc:416: thread_id, request_id, BluetoothError::NETWORK_ERROR)); On 2015/06/10 22:03:01, ortuno wrote: ...
5 years, 6 months ago (2015-06-10 22:55:50 UTC) #10
ortuno
@nick: PTAL at bad_message @scheib: PTAL
5 years, 6 months ago (2015-06-11 00:11:47 UTC) #12
ncarter (slow)
bad_message and histograms.xml lgtm (though I am not an owner for histograms.xml)
5 years, 6 months ago (2015-06-11 03:55:58 UTC) #13
ortuno
Thanks @nick. @asvitkine: PTAL at histograms.xml
5 years, 6 months ago (2015-06-11 16:08:14 UTC) #15
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-06-11 16:35:26 UTC) #16
scheib
https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode206 content/browser/bluetooth/bluetooth_dispatcher_host.cc:206: if (!insert_result.second) Reduce comment size, if (!insert_result.second) // If ...
5 years, 6 months ago (2015-06-11 20:20:50 UTC) #17
ortuno
@scheib: Thanks! https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode206 content/browser/bluetooth/bluetooth_dispatcher_host.cc:206: if (!insert_result.second) On 2015/06/11 at 20:20:50, scheib ...
5 years, 6 months ago (2015-06-11 21:17:10 UTC) #18
scheib
https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode206 content/browser/bluetooth/bluetooth_dispatcher_host.cc:206: if (!insert_result.second) On 2015/06/11 21:17:09, ortuno wrote: > On ...
5 years, 6 months ago (2015-06-11 21:51:57 UTC) #19
ortuno
https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1149883011/diff/160001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode206 content/browser/bluetooth/bluetooth_dispatcher_host.cc:206: if (!insert_result.second) On 2015/06/11 at 21:51:57, scheib wrote: > ...
5 years, 6 months ago (2015-06-11 22:04:38 UTC) #20
scheib
LGTM
5 years, 6 months ago (2015-06-11 22:36:24 UTC) #21
ortuno
@armansito: PTAL at mock_bluetooth_gatt_service
5 years, 6 months ago (2015-06-11 23:35:43 UTC) #23
armansito
lgtm
5 years, 6 months ago (2015-06-12 00:25:27 UTC) #24
ortuno
tsepez
5 years, 6 months ago (2015-06-12 04:35:58 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149883011/220001
5 years, 6 months ago (2015-06-12 04:36:13 UTC) #29
ortuno
@tsepez: PTAL at content/common/bluetooth/bluetooth_messages.h
5 years, 6 months ago (2015-06-12 04:37:37 UTC) #31
Tom Sepez
Messages LGTM.
5 years, 6 months ago (2015-06-12 17:26:57 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149883011/240001
5 years, 6 months ago (2015-06-12 17:28:36 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:240001)
5 years, 6 months ago (2015-06-12 17:35:55 UTC) #36
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 17:36:53 UTC) #37
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/006cb4a39d52c747a95b996c19b6ed1906c53bb6
Cr-Commit-Position: refs/heads/master@{#334189}

Powered by Google App Engine
This is Rietveld 408576698