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

Issue 1128943005: Implement break signal for serial api. (Closed)

Created:
5 years, 7 months ago by limasdf
Modified:
5 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement break signal for serial api. `Break` is somewhat related to control signaling and holds tx line low for n milliseconds. Adding platform specific implementation. BUG=461169 TEST=Manual with attached application on crbug.com/461169 Committed: https://crrev.com/d169ad87e2bc70b51a52bf5fbc2fbe9db6c8ed01 Cr-Commit-Position: refs/heads/master@{#334111}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : histogram, VLOG #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -0 lines) Patch
M device/serial/serial_io_handler.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M device/serial/serial_io_handler_posix.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/serial/serial_io_handler_posix.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M device/serial/serial_io_handler_win.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/serial/serial_io_handler_win.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M device/serial/test_serial_io_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/serial/test_serial_io_handler.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/browser/api/serial/serial_api.h View 1 chunk +32 lines, -0 lines 0 comments Download
M extensions/browser/api/serial/serial_api.cc View 1 chunk +47 lines, -0 lines 0 comments Download
M extensions/browser/api/serial/serial_connection.h View 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/browser/api/serial/serial_connection.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/common/api/serial.idl View 2 chunks +14 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
limasdf
Hi. Rockot. Would you mind taking a look?
5 years, 6 months ago (2015-06-10 17:52:17 UTC) #5
Ken Rockot(use gerrit already)
please update tools/metrics/histograms/histograms.xml to add the new functions to the "ExtensionFunctions" enum. https://codereview.chromium.org/1128943005/diff/60001/device/serial/serial_io_handler.h File device/serial/serial_io_handler.h ...
5 years, 6 months ago (2015-06-10 19:07:18 UTC) #6
Ken Rockot(use gerrit already)
On 2015/06/10 19:07:18, Ken Rockot wrote: > please update tools/metrics/histograms/histograms.xml to add the new functions ...
5 years, 6 months ago (2015-06-10 19:09:48 UTC) #7
Ken Rockot(use gerrit already)
On 2015/06/10 19:09:48, Ken Rockot wrote: > On 2015/06/10 19:07:18, Ken Rockot wrote: > > ...
5 years, 6 months ago (2015-06-10 19:10:01 UTC) #8
Ken Rockot(use gerrit already)
This hasn't undergone the standard API review process for apps/extensions APIs. Because I think this ...
5 years, 6 months ago (2015-06-10 19:37:05 UTC) #10
Reilly Grant (use Gerrit)
I agree with Ken. Totally uncontroversial. https://codereview.chromium.org/1128943005/diff/60001/device/serial/serial_io_handler_posix.cc File device/serial/serial_io_handler_posix.cc (right): https://codereview.chromium.org/1128943005/diff/60001/device/serial/serial_io_handler_posix.cc#newcode476 device/serial/serial_io_handler_posix.cc:476: return ioctl(file().GetPlatformFile(), TIOCSBRK, ...
5 years, 6 months ago (2015-06-10 19:42:13 UTC) #11
limasdf
ptal https://codereview.chromium.org/1128943005/diff/60001/device/serial/serial_io_handler.h File device/serial/serial_io_handler.h (right): https://codereview.chromium.org/1128943005/diff/60001/device/serial/serial_io_handler.h#newcode47 device/serial/serial_io_handler.h:47: // while a Write is already pending. Otherwise, ...
5 years, 6 months ago (2015-06-11 22:14:24 UTC) #12
Ken Rockot(use gerrit already)
lgtm. thanks for this patch
5 years, 6 months ago (2015-06-11 22:16:22 UTC) #13
limasdf
thanks for the quick review
5 years, 6 months ago (2015-06-11 22:17:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128943005/80001
5 years, 6 months ago (2015-06-11 22:18:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/70341)
5 years, 6 months ago (2015-06-11 22:28:46 UTC) #18
limasdf
Ilya Sherman, Could you take a look tools/metrics/histograms/histograms.xml?
5 years, 6 months ago (2015-06-11 22:32:30 UTC) #20
Ilya Sherman
histograms lgtm
5 years, 6 months ago (2015-06-12 01:31:37 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128943005/80001
5 years, 6 months ago (2015-06-12 01:35:59 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 6 months ago (2015-06-12 02:06:28 UTC) #24
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 02:07:29 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d169ad87e2bc70b51a52bf5fbc2fbe9db6c8ed01
Cr-Commit-Position: refs/heads/master@{#334111}

Powered by Google App Engine
This is Rietveld 408576698