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

Issue 437933002: Add data pipe wrappers to be used to implement serial receive. (Closed)

Created:
6 years, 4 months ago by Sam McNally
Modified:
6 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@serial-buffer
Project:
chromium
Visibility:
Public.

Description

Add data pipe wrappers to be used to implement serial receive. BUG=389016 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288692

Patch Set 1 : #

Total comments: 20

Patch Set 2 : address comments #

Total comments: 12

Patch Set 3 : address comments #

Total comments: 6

Patch Set 4 : address comments #

Total comments: 36

Patch Set 5 : address comments #

Total comments: 18

Patch Set 6 : rebase #

Patch Set 7 : address comments #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1165 lines, -0 lines) Patch
M device/device_tests.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M device/serial/BUILD.gn View 1 2 chunks +7 lines, -0 lines 0 comments Download
A device/serial/async_waiter.h View 1 chunk +40 lines, -0 lines 0 comments Download
A device/serial/async_waiter.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
A device/serial/data_receiver.h View 1 2 3 4 5 6 7 1 chunk +112 lines, -0 lines 0 comments Download
A device/serial/data_receiver.cc View 1 2 3 4 1 chunk +340 lines, -0 lines 0 comments Download
A device/serial/data_source_sender.h View 1 2 3 4 5 6 1 chunk +94 lines, -0 lines 0 comments Download
A device/serial/data_source_sender.cc View 1 2 3 4 5 6 7 8 1 chunk +249 lines, -0 lines 0 comments Download
A device/serial/data_source_unittest.cc View 1 2 3 4 5 6 1 chunk +252 lines, -0 lines 0 comments Download
A device/serial/data_stream.mojom View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download
M device/serial/serial.gyp View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Sam McNally
6 years, 4 months ago (2014-08-04 08:08:32 UTC) #1
Ken Rockot(use gerrit already)
This generally looks fine to me and I'll be happy to rubber stamp for //device/serial ...
6 years, 4 months ago (2014-08-04 17:01:04 UTC) #2
raymes
I've only reviewed half of this but here are some initial comments. Sorry it has ...
6 years, 4 months ago (2014-08-05 06:26:45 UTC) #3
Sam McNally
https://codereview.chromium.org/437933002/diff/80001/device/serial/async_waiter.cc File device/serial/async_waiter.cc (right): https://codereview.chromium.org/437933002/diff/80001/device/serial/async_waiter.cc#newcode35 device/serial/async_waiter.cc:35: callback.Run(result); On 2014/08/05 06:26:44, raymes wrote: > Why not ...
6 years, 4 months ago (2014-08-05 07:26:33 UTC) #4
raymes
https://codereview.chromium.org/437933002/diff/120001/device/serial/data_receiver.cc File device/serial/data_receiver.cc (right): https://codereview.chromium.org/437933002/diff/120001/device/serial/data_receiver.cc#newcode89 device/serial/data_receiver.cc:89: void DataReceiver::OnDoneWaiting(MojoResult result) { I think we can only ...
6 years, 4 months ago (2014-08-05 08:10:21 UTC) #5
Sam McNally
https://codereview.chromium.org/437933002/diff/120001/device/serial/data_receiver.cc File device/serial/data_receiver.cc (right): https://codereview.chromium.org/437933002/diff/120001/device/serial/data_receiver.cc#newcode89 device/serial/data_receiver.cc:89: void DataReceiver::OnDoneWaiting(MojoResult result) { On 2014/08/05 08:10:20, raymes wrote: ...
6 years, 4 months ago (2014-08-05 08:33:09 UTC) #6
raymes
https://codereview.chromium.org/437933002/diff/140001/device/serial/data_receiver.cc File device/serial/data_receiver.cc (right): https://codereview.chromium.org/437933002/diff/140001/device/serial/data_receiver.cc#newcode90 device/serial/data_receiver.cc:90: bytes_received_ += bytes_consumed; We should make sure that this ...
6 years, 4 months ago (2014-08-06 00:13:36 UTC) #7
Sam McNally
https://codereview.chromium.org/437933002/diff/140001/device/serial/data_receiver.cc File device/serial/data_receiver.cc (right): https://codereview.chromium.org/437933002/diff/140001/device/serial/data_receiver.cc#newcode90 device/serial/data_receiver.cc:90: bytes_received_ += bytes_consumed; On 2014/08/06 00:13:36, raymes wrote: > ...
6 years, 4 months ago (2014-08-06 03:51:31 UTC) #8
raymes
This looks way better! Thanks! Please make sure you add comments for things. It's good ...
6 years, 4 months ago (2014-08-06 05:46:43 UTC) #9
raymes
https://codereview.chromium.org/437933002/diff/160001/device/serial/data_source_sender.cc File device/serial/data_source_sender.cc (right): https://codereview.chromium.org/437933002/diff/160001/device/serial/data_source_sender.cc#newcode60 device/serial/data_source_sender.cc:60: waiter_.reset(); I guess we could reset send_ here too? ...
6 years, 4 months ago (2014-08-06 06:41:54 UTC) #10
Sam McNally
https://codereview.chromium.org/437933002/diff/160001/device/serial/data_receiver.cc File device/serial/data_receiver.cc (right): https://codereview.chromium.org/437933002/diff/160001/device/serial/data_receiver.cc#newcode15 device/serial/data_receiver.cc:15: class DataReceiver::PendingReceive { On 2014/08/06 05:46:43, raymes wrote: > ...
6 years, 4 months ago (2014-08-06 08:28:15 UTC) #11
raymes
https://codereview.chromium.org/437933002/diff/180001/device/serial/data_source_unittest.cc File device/serial/data_source_unittest.cc (right): https://codereview.chromium.org/437933002/diff/180001/device/serial/data_source_unittest.cc#newcode64 device/serial/data_source_unittest.cc:64: RunMessageLoop(); -Add a comment // Run the message loop ...
6 years, 4 months ago (2014-08-11 04:04:51 UTC) #12
raymes
lgtm
6 years, 4 months ago (2014-08-11 04:07:44 UTC) #13
Sam McNally
https://codereview.chromium.org/437933002/diff/180001/device/serial/data_source_unittest.cc File device/serial/data_source_unittest.cc (right): https://codereview.chromium.org/437933002/diff/180001/device/serial/data_source_unittest.cc#newcode64 device/serial/data_source_unittest.cc:64: RunMessageLoop(); On 2014/08/11 04:04:51, raymes wrote: > -Add a ...
6 years, 4 months ago (2014-08-11 04:56:43 UTC) #14
Ken Rockot(use gerrit already)
lgtm
6 years, 4 months ago (2014-08-11 06:02:05 UTC) #15
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-11 06:54:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/437933002/240001
6 years, 4 months ago (2014-08-11 06:55:36 UTC) #17
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-11 07:36:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/437933002/260001
6 years, 4 months ago (2014-08-11 07:37:40 UTC) #19
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-11 07:57:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/437933002/280001
6 years, 4 months ago (2014-08-11 08:01:08 UTC) #21
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 12:18:56 UTC) #22
Message was sent while issue was closed.
Change committed as 288692

Powered by Google App Engine
This is Rietveld 408576698