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

Issue 488363002: Implement the host side of serial connection I/O on data pipe. (Closed)

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

Description

Implement the host side of serial connection I/O on data pipe. This change adds DataSource and DataSink interface request parameters to SerialService::Connect, passes them through to SerialConnection instances via SerialConnectionFactory; the SerialConnection now uses a DataSourceSender and a DataSinkReceiver for implementing serial receive and send, respectively. BUG=389016 Committed: https://crrev.com/d96dc3e6fe8023ee49e9facbc42cc600ee127a34 Cr-Commit-Position: refs/heads/master@{#292104}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address comments #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : fix rebase fail #

Patch Set 6 : fix win x64 build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -116 lines) Patch
M device/serial/serial.mojom View 1 2 3 4 2 chunks +10 lines, -4 lines 0 comments Download
M device/serial/serial_connection.h View 2 chunks +14 lines, -1 line 0 comments Download
M device/serial/serial_connection.cc View 2 chunks +36 lines, -1 line 0 comments Download
M device/serial/serial_connection_factory.h View 2 chunks +4 lines, -1 line 0 comments Download
M device/serial/serial_connection_factory.cc View 5 chunks +23 lines, -7 lines 0 comments Download
M device/serial/serial_connection_unittest.cc View 9 chunks +175 lines, -29 lines 0 comments Download
M device/serial/serial_service_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M device/serial/serial_service_impl.cc View 2 chunks +8 lines, -9 lines 0 comments Download
M device/serial/serial_service_unittest.cc View 4 chunks +42 lines, -50 lines 0 comments Download
M device/serial/test_serial_io_handler.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M device/serial/test_serial_io_handler.cc View 1 2 3 4 5 2 chunks +24 lines, -9 lines 0 comments Download
M extensions/renderer/api/serial/serial_api_unittest.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/renderer/resources/serial_service.js View 1 1 chunk +13 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
Sam McNally
6 years, 4 months ago (2014-08-21 03:49:01 UTC) #1
raymes
Could you elaborate the CL description? It seems like there are some other changes which ...
6 years, 4 months ago (2014-08-22 04:57:43 UTC) #2
Sam McNally
https://codereview.chromium.org/488363002/diff/40001/device/serial/serial.mojom File device/serial/serial.mojom (right): https://codereview.chromium.org/488363002/diff/40001/device/serial/serial.mojom#newcode95 device/serial/serial.mojom:95: DataSource& source); On 2014/08/22 04:57:43, raymes wrote: > Perhaps ...
6 years, 4 months ago (2014-08-22 08:12:12 UTC) #3
raymes
lgtm
6 years, 4 months ago (2014-08-25 02:33:30 UTC) #4
Sam McNally
sammc@chromium.org changed reviewers: + rockot@chromium.org
6 years, 4 months ago (2014-08-26 00:30:13 UTC) #5
Sam McNally
+rockot
6 years, 4 months ago (2014-08-26 00:30:13 UTC) #6
Ken Rockot(use gerrit already)
lgtm
6 years, 3 months ago (2014-08-27 03:19:45 UTC) #7
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 03:50:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/488363002/80001
6 years, 3 months ago (2014-08-27 03:51:11 UTC) #9
Sam McNally
The CQ bit was unchecked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 03:51:46 UTC) #10
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 04:01:49 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/488363002/100001
6 years, 3 months ago (2014-08-27 04:03:02 UTC) #12
Sam McNally
The CQ bit was unchecked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 04:16:21 UTC) #13
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 04:19:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/488363002/120001
6 years, 3 months ago (2014-08-27 04:20:00 UTC) #15
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 3 months ago (2014-08-27 04:49:45 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/488363002/140001
6 years, 3 months ago (2014-08-27 04:50:19 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (140001) as 3d5735a917c9a31dd015ca4524c6c4b302842867
6 years, 3 months ago (2014-08-27 06:41:48 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:49:57 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d96dc3e6fe8023ee49e9facbc42cc600ee127a34
Cr-Commit-Position: refs/heads/master@{#292104}

Powered by Google App Engine
This is Rietveld 408576698