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

Issue 423373002: Convert SerialIoHandler to use buffer interfaces for I/O API methods. (Closed)

Created:
6 years, 4 months ago by Sam McNally
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@js-serial
Project:
chromium
Visibility:
Public.

Description

Convert SerialIoHandler to use buffer interfaces for I/O API methods. These buffer interfaces will allow SerialIoHandler to support both the existing SerialConnection implementation and one implemented using Mojo data pipes. BUG=389016 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287277

Patch Set 1 : #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -79 lines) Patch
M device/serial/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A device/serial/buffer.h View 1 chunk +40 lines, -0 lines 2 comments Download
A device/serial/buffer.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M device/serial/serial.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/serial/serial_connection.cc View 1 chunk +0 lines, -1 line 0 comments Download
M device/serial/serial_io_handler.h View 5 chunks +19 lines, -35 lines 0 comments Download
M device/serial/serial_io_handler.cc View 5 chunks +17 lines, -25 lines 0 comments Download
M device/serial/serial_io_handler_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M device/serial/serial_io_handler_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M device/serial/test_serial_io_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/serial/serial_connection.h View 3 chunks +4 lines, -2 lines 0 comments Download
M extensions/browser/api/serial/serial_connection.cc View 6 chunks +58 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sam McNally
6 years, 4 months ago (2014-07-30 07:31:52 UTC) #1
raymes
https://codereview.chromium.org/423373002/diff/80001/device/serial/buffer.h File device/serial/buffer.h (right): https://codereview.chromium.org/423373002/diff/80001/device/serial/buffer.h#newcode16 device/serial/buffer.h:16: class ReadOnlyBuffer { Maybe just "ReadBuffer" and "WriteBuffer" (since ...
6 years, 4 months ago (2014-08-01 02:25:43 UTC) #2
Sam McNally
https://codereview.chromium.org/423373002/diff/80001/device/serial/buffer.h File device/serial/buffer.h (right): https://codereview.chromium.org/423373002/diff/80001/device/serial/buffer.h#newcode16 device/serial/buffer.h:16: class ReadOnlyBuffer { On 2014/08/01 02:25:43, raymes wrote: > ...
6 years, 4 months ago (2014-08-01 06:30:31 UTC) #3
Ken Rockot(use gerrit already)
lgtm I think the buffer type naming will be a little confusing either way, but ...
6 years, 4 months ago (2014-08-01 16:46:54 UTC) #4
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-04 00:21:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/423373002/80001
6 years, 4 months ago (2014-08-04 00:21:57 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 02:30:45 UTC) #7
Message was sent while issue was closed.
Change committed as 287277

Powered by Google App Engine
This is Rietveld 408576698