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

Issue 423403002: Implement more of chrome.serial on the Mojo SerialConnection. (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

Implement more of chrome.serial on the Mojo SerialConnection. This implements connect, disconnect, getInfo, update, getControlSignals, setControlSignals, flush, setPaused and getConnections. BUG=389016 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289578

Patch Set 1 : #

Total comments: 6

Patch Set 2 : add missing semicolons #

Total comments: 10

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Patch Set 5 : add missed GN change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+985 lines, -27 lines) Patch
M extensions/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M extensions/renderer/api/serial/serial_api_unittest.cc View 2 chunks +395 lines, -13 lines 0 comments Download
M extensions/renderer/resources/serial_custom_bindings.js View 1 2 3 2 chunks +55 lines, -1 line 0 comments Download
M extensions/renderer/resources/serial_service.js View 1 2 3 2 chunks +245 lines, -13 lines 0 comments Download
M extensions/test/data/serial_unittest.js View 1 2 3 2 chunks +288 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Sam McNally
6 years, 4 months ago (2014-07-31 01:32:20 UTC) #1
Ken Rockot(use gerrit already)
lgtm. May want a mojo reviewer too? https://codereview.chromium.org/423403002/diff/80001/extensions/renderer/api/serial/serial_api_unittest.cc File extensions/renderer/api/serial/serial_api_unittest.cc (right): https://codereview.chromium.org/423403002/diff/80001/extensions/renderer/api/serial/serial_api_unittest.cc#newcode156 extensions/renderer/api/serial/serial_api_unittest.cc:156: signals->dcd = ...
6 years, 4 months ago (2014-07-31 16:28:33 UTC) #2
Sam McNally
darin: do you want to take a look? https://codereview.chromium.org/423403002/diff/80001/extensions/renderer/resources/serial_custom_bindings.js File extensions/renderer/resources/serial_custom_bindings.js (right): https://codereview.chromium.org/423403002/diff/80001/extensions/renderer/resources/serial_custom_bindings.js#newcode15 extensions/renderer/resources/serial_custom_bindings.js:15: } ...
6 years, 4 months ago (2014-08-01 01:10:13 UTC) #3
raymes
The tests here are really cool! Very excited about it. Could you explain a bit ...
6 years, 4 months ago (2014-08-01 02:16:28 UTC) #4
Sam McNally
On 2014/08/01 02:16:28, raymes wrote: > The tests here are really cool! Very excited about ...
6 years, 4 months ago (2014-08-01 06:39:24 UTC) #5
raymes
https://codereview.chromium.org/423403002/diff/100001/extensions/renderer/api/serial/serial_api_unittest.cc File extensions/renderer/api/serial/serial_api_unittest.cc (right): https://codereview.chromium.org/423403002/diff/100001/extensions/renderer/api/serial/serial_api_unittest.cc#newcode98 extensions/renderer/api/serial/serial_api_unittest.cc:98: class TestIoHandlerBase : public device::TestSerialIoHandler { Consider merging these ...
6 years, 4 months ago (2014-08-14 02:58:05 UTC) #6
raymes
6 years, 4 months ago (2014-08-14 02:58:07 UTC) #7
raymes
lgtm
6 years, 4 months ago (2014-08-14 02:59:11 UTC) #8
Sam McNally
https://codereview.chromium.org/423403002/diff/100001/extensions/renderer/api/serial/serial_api_unittest.cc File extensions/renderer/api/serial/serial_api_unittest.cc (right): https://codereview.chromium.org/423403002/diff/100001/extensions/renderer/api/serial/serial_api_unittest.cc#newcode98 extensions/renderer/api/serial/serial_api_unittest.cc:98: class TestIoHandlerBase : public device::TestSerialIoHandler { On 2014/08/14 02:58:04, ...
6 years, 4 months ago (2014-08-14 04:33:51 UTC) #9
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-14 04:34:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/423403002/140001
6 years, 4 months ago (2014-08-14 04:38:32 UTC) #11
Sam McNally
The CQ bit was checked by sammc@chromium.org
6 years, 4 months ago (2014-08-14 08:03:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/423403002/160001
6 years, 4 months ago (2014-08-14 08:07:11 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 15:05:22 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (160001) as 289578

Powered by Google App Engine
This is Rietveld 408576698