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

Issue 1217983004: bluetooth: browser-side implementation of writeValue. (Closed)

Created:
5 years, 5 months ago by ortuno
Modified:
5 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-origin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: browser-side implementation of writeValue. Chrome spec repo update: https://github.com/WebBluetoothChrome/web-bluetooth/pull/12 This is the second of three patches to implement writeValue(): [1] http://crrev.com/1212943006 (Blink-side interface) [2] This patch. [3] http://crrev.com/1218803008 (Blink-side implementation) BUG=507415 Committed: https://crrev.com/af85f60db9f8a89b2b4446e47c73f7cc44dcf4c6 Cr-Commit-Position: refs/heads/master@{#337912}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Run python script to update histograms.xml #

Patch Set 3 : Use the vector passed instead of creating a new copy in the browser. #

Total comments: 4

Patch Set 4 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -2 lines) Patch
M content/browser/bad_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 3 chunks +82 lines, -0 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.h View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.cc View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/bluetooth/bluetooth_messages.h View 2 chunks +21 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
ortuno
jyasskin: PTAL
5 years, 5 months ago (2015-07-06 23:05:16 UTC) #2
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1217983004/diff/1/content/child/bluetooth/bluetooth_dispatcher.cc File content/child/bluetooth/bluetooth_dispatcher.cc (right): https://codereview.chromium.org/1217983004/diff/1/content/child/bluetooth/bluetooth_dispatcher.cc#newcode246 content/child/bluetooth/bluetooth_dispatcher.cc:246: std::vector<uint8_t> value(byteLength); You can initialize this with "std::vector<uint8_t> ...
5 years, 5 months ago (2015-07-07 00:31:42 UTC) #3
ortuno
On 2015/07/07 at 00:31:42, jyasskin wrote: > lgtm > > https://codereview.chromium.org/1217983004/diff/1/content/child/bluetooth/bluetooth_dispatcher.cc > File content/child/bluetooth/bluetooth_dispatcher.cc (right): ...
5 years, 5 months ago (2015-07-07 00:34:23 UTC) #4
ortuno
On 2015/07/07 at 00:34:23, ortuno wrote: > On 2015/07/07 at 00:31:42, jyasskin wrote: > > ...
5 years, 5 months ago (2015-07-07 00:39:44 UTC) #5
Jeffrey Yasskin
On 2015/07/07 00:39:44, ortuno wrote: > On 2015/07/07 at 00:34:23, ortuno wrote: > > On ...
5 years, 5 months ago (2015-07-07 00:47:57 UTC) #6
ortuno
@scheib: PTAL
5 years, 5 months ago (2015-07-07 15:41:22 UTC) #8
scheib
LGTM
5 years, 5 months ago (2015-07-07 19:28:08 UTC) #9
ortuno
@nick: PTAL bad_message.h @asvitkine: PTAL at histograms.xml @tsepez: PTAL at content/common/bluetooth/bluetooth_messages.h
5 years, 5 months ago (2015-07-07 19:31:23 UTC) #11
ortuno
@palmer: tsepez is OOO would you mind taking a look at content/common/bluetooth/bluetooth_messages.h?
5 years, 5 months ago (2015-07-07 20:03:20 UTC) #13
ncarter (slow)
bad_message.h and histograms.xml lgtm (I'm not an owner for the latter)
5 years, 5 months ago (2015-07-07 21:10:22 UTC) #14
Alexei Svitkine (slow)
histograms lgtm
5 years, 5 months ago (2015-07-07 21:13:03 UTC) #15
palmer
https://codereview.chromium.org/1217983004/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1217983004/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode460 content/browser/bluetooth/bluetooth_dispatcher_host.cc:460: // Kill the renderer Nit: This comment is superfluous. ...
5 years, 5 months ago (2015-07-07 21:37:17 UTC) #16
palmer
5 years, 5 months ago (2015-07-07 21:37:18 UTC) #17
ortuno
Thanks! https://codereview.chromium.org/1217983004/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1217983004/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode460 content/browser/bluetooth/bluetooth_dispatcher_host.cc:460: // Kill the renderer On 2015/07/07 at 21:37:16, ...
5 years, 5 months ago (2015-07-07 22:01:52 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217983004/60001
5 years, 5 months ago (2015-07-08 00:39:10 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/71206) win_chromium_rel_ng on ...
5 years, 5 months ago (2015-07-08 01:08:32 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217983004/60001
5 years, 5 months ago (2015-07-08 14:04:59 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-08 15:10:01 UTC) #27
Jeffrey Yasskin
On 2015/07/07 22:01:52, ortuno wrote: > Thanks! > > https://codereview.chromium.org/1217983004/diff/40001/content/browser/bluetooth/bluetooth_dispatcher_host.cc > File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): > ...
5 years, 5 months ago (2015-07-08 15:29:37 UTC) #28
ortuno
@palmer: ping?
5 years, 5 months ago (2015-07-08 19:56:40 UTC) #29
palmer
LGTM on the condition that you switch to the enum approach in a second CL ...
5 years, 5 months ago (2015-07-08 21:06:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217983004/60001
5 years, 5 months ago (2015-07-08 21:29:13 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-08 21:35:29 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 21:36:29 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/af85f60db9f8a89b2b4446e47c73f7cc44dcf4c6
Cr-Commit-Position: refs/heads/master@{#337912}

Powered by Google App Engine
This is Rietveld 408576698