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

Issue 1357993002: Extracts more information from serial devices on Windows (Closed)

Created:
5 years, 3 months ago by charliea (OOO until 10-5)
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extracts more information from serial devices on Windows At rockot@'s suggestion, I tested this with a small Chrome app that I wrote (https://github.com/zeptonaut/serial-device-enumerator-app) that opens a window showing all information that Chrome knows about serial devices. We chose this route over unit tests because we didn't think it was wise to write unit tests that assumed specific devices were plugged into our test servers. As far as devices, I used an FTDI Chipset High Speed USB 2.0 to Serial RS-232 DB-9 Converter. This was useful because it's one of not-so-many devices that has both serial properties (COM port) and USB properties (vendor ID, device ID, and display name). BUG=522217 Committed: https://crrev.com/e940c46e8e7b40367a4c151656550693476ea870 Cr-Commit-Position: refs/heads/master@{#351163}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Code review #

Patch Set 3 : s/NULL/nullptr #

Patch Set 4 : Rearranged imports to match style guide. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -10 lines) Patch
M device/serial/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M device/serial/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M device/serial/serial.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M device/serial/serial_device_enumerator_win.cc View 1 2 3 2 chunks +106 lines, -10 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
charliea (OOO until 10-5)
5 years, 3 months ago (2015-09-21 22:20:50 UTC) #5
charliea (OOO until 10-5)
5 years, 3 months ago (2015-09-22 18:29:03 UTC) #7
Ken Rockot(use gerrit already)
LGTM https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc File device/serial/serial_device_enumerator_win.cc (right): https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc#newcode35 device/serial/serial_device_enumerator_win.cc:35: (PBYTE)buffer.get(), buffer_size, buffer.get() is always nullptr here. Why ...
5 years, 3 months ago (2015-09-23 17:30:18 UTC) #8
charliea (OOO until 10-5)
https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc File device/serial/serial_device_enumerator_win.cc (right): https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc#newcode35 device/serial/serial_device_enumerator_win.cc:35: (PBYTE)buffer.get(), buffer_size, On 2015/09/23 17:30:18, Ken Rockot wrote: > ...
5 years, 2 months ago (2015-09-28 13:22:54 UTC) #9
Ken Rockot(use gerrit already)
On 2015/09/28 13:22:54, Charlie Andrews wrote: > https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc > File device/serial/serial_device_enumerator_win.cc (right): > > https://codereview.chromium.org/1357993002/diff/60001/device/serial/serial_device_enumerator_win.cc#newcode35 ...
5 years, 2 months ago (2015-09-28 15:30:02 UTC) #11
charliea (OOO until 10-5)
tfarina@, could you give approval for the dependency on third_party/re2?
5 years, 2 months ago (2015-09-28 16:43:00 UTC) #14
tfarina
LGTM
5 years, 2 months ago (2015-09-28 17:15:21 UTC) #15
tfarina
Could you also fix the BUG= line? It says 5222217, bu that does not appear ...
5 years, 2 months ago (2015-09-28 17:16:58 UTC) #16
Ken Rockot(use gerrit already)
On 2015/09/28 17:16:58, tfarina wrote: > Could you also fix the BUG= line? It says ...
5 years, 2 months ago (2015-09-28 17:22:16 UTC) #17
charliea (OOO until 10-5)
On 2015/09/28 17:22:16, Ken Rockot wrote: > On 2015/09/28 17:16:58, tfarina wrote: > > Could ...
5 years, 2 months ago (2015-09-28 19:12:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1357993002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1357993002/160001
5 years, 2 months ago (2015-09-28 19:14:10 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/68338)
5 years, 2 months ago (2015-09-28 20:15:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1357993002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1357993002/160001
5 years, 2 months ago (2015-09-28 20:58:48 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:160001)
5 years, 2 months ago (2015-09-28 21:21:58 UTC) #26
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 21:29:11 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e940c46e8e7b40367a4c151656550693476ea870
Cr-Commit-Position: refs/heads/master@{#351163}

Powered by Google App Engine
This is Rietveld 408576698