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

Issue 941063003: Log device/usb messages to chrome://device-log. (Closed)

Created:
5 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
5 years, 10 months ago
Reviewers:
xiyuan, stevenjb
CC:
chromium-reviews, stevenjb+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log device/usb messages to chrome://device-log. Log events and debugging information related to USB devices through the device event log so that these errors are visible on Chrome OS at chrome://device-log. BUG=455336 Committed: https://crrev.com/0f2dc63836f1d614069cc17b8452866e891b558c Cr-Commit-Position: refs/heads/master@{#317635}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Rebase and adjust log levels. #

Total comments: 3

Patch Set 3 : Add device/usb dependency on components/device_event_log. #

Patch Set 4 : Add stevenjb@ as per-file OWNER. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -53 lines) Patch
M chrome/app/chromium_strings.grd View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/device_log_ui/device_log_ui.html View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/OWNERS View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/device_log_ui.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/device_event_log/device_event_log.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/device_event_log/device_event_log_impl.cc View 1 1 chunk +14 lines, -8 lines 0 comments Download
M device/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M device/usb/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M device/usb/usb.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M device/usb/usb_device_handle_impl.cc View 1 16 chunks +36 lines, -33 lines 0 comments Download
M device/usb/usb_device_impl.cc View 1 4 chunks +9 lines, -6 lines 0 comments Download
M device/usb/usb_service.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M device/usb/usb_service_impl.cc View 1 4 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
Reilly Grant (use Gerrit)
Steven, I've split out the use case for https://codereview.chromium.org/919183002/ into this independent patch so that ...
5 years, 10 months ago (2015-02-19 23:34:53 UTC) #2
stevenjb
https://codereview.chromium.org/941063003/diff/40001/device/usb/usb_device_handle_impl.cc File device/usb/usb_device_handle_impl.cc (right): https://codereview.chromium.org/941063003/diff/40001/device/usb/usb_device_handle_impl.cc#newcode150 device/usb/usb_device_handle_impl.cc:150: << ConvertPlatformUsbErrorToString(rv); You might want to use type EVENT ...
5 years, 10 months ago (2015-02-20 00:01:27 UTC) #5
Reilly Grant (use Gerrit)
https://codereview.chromium.org/941063003/diff/40001/device/usb/usb_device_handle_impl.cc File device/usb/usb_device_handle_impl.cc (right): https://codereview.chromium.org/941063003/diff/40001/device/usb/usb_device_handle_impl.cc#newcode150 device/usb/usb_device_handle_impl.cc:150: << ConvertPlatformUsbErrorToString(rv); On 2015/02/20 00:01:27, stevenjb wrote: > You ...
5 years, 10 months ago (2015-02-20 00:10:22 UTC) #6
Reilly Grant (use Gerrit)
I've rebased this patch and re-evaluated the log levels.
5 years, 10 months ago (2015-02-20 23:30:40 UTC) #7
stevenjb
lgtm w/ nit https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc File device/usb/usb_device_handle_impl.cc (right): https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc#newcode672 device/usb/usb_device_handle_impl.cc:672: USB_LOG(USER) << "Transfer too long."; These ...
5 years, 10 months ago (2015-02-20 23:40:32 UTC) #8
Reilly Grant (use Gerrit)
https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc File device/usb/usb_device_handle_impl.cc (right): https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc#newcode672 device/usb/usb_device_handle_impl.cc:672: USB_LOG(USER) << "Transfer too long."; On 2015/02/20 23:40:32, stevenjb ...
5 years, 10 months ago (2015-02-20 23:43:55 UTC) #9
stevenjb
https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc File device/usb/usb_device_handle_impl.cc (right): https://codereview.chromium.org/941063003/diff/60001/device/usb/usb_device_handle_impl.cc#newcode672 device/usb/usb_device_handle_impl.cc:672: USB_LOG(USER) << "Transfer too long."; On 2015/02/20 23:43:54, reillyg ...
5 years, 10 months ago (2015-02-21 00:55:28 UTC) #11
Reilly Grant (use Gerrit)
bauerb@, please take a look at the chrome/browser/ui/webui/device_log_ui.cc change.
5 years, 10 months ago (2015-02-21 01:21:59 UTC) #15
stevenjb
On 2015/02/21 01:21:59, reillyg wrote: > bauerb@, please take a look at the chrome/browser/ui/webui/device_log_ui.cc > ...
5 years, 10 months ago (2015-02-21 01:27:55 UTC) #16
Reilly Grant (use Gerrit)
Adding stevenjb@ as an OWNER of this file (since it was moved out of .../webui/chromeos) ...
5 years, 10 months ago (2015-02-21 01:44:35 UTC) #18
xiyuan
lgtm
5 years, 10 months ago (2015-02-22 17:51:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941063003/100001
5 years, 10 months ago (2015-02-22 18:31:35 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/61405)
5 years, 10 months ago (2015-02-22 18:34:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941063003/120001
5 years, 10 months ago (2015-02-23 19:10:54 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 10 months ago (2015-02-23 20:02:16 UTC) #27
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 20:03:37 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0f2dc63836f1d614069cc17b8452866e891b558c
Cr-Commit-Position: refs/heads/master@{#317635}

Powered by Google App Engine
This is Rietveld 408576698