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

Issue 947663002: Log device/hid messages to chrome://device-log. (Closed)

Created:
5 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 8 months ago
CC:
chromium-reviews, arv+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/hid messages to chrome://device-log. Log events and debugging information related to HID devices through the device event log component so that these errors are visible at chrome://device-log. A DEVICE_PLOG macro has been added which includes the last reported system error in the log message. BUG=448901 Committed: https://crrev.com/b9da284b42d4a3b9498d64f1c61452c5f5ae4ff2 Cr-Commit-Position: refs/heads/master@{#317722}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Clarified destructor behavior, cleaned up OS X error logging. #

Total comments: 1

Patch Set 3 : A better comment about the embedded log instance. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -57 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 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/device_log_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/device_event_log/device_event_log.h View 1 2 4 chunks +38 lines, -1 line 0 comments Download
M components/device_event_log/device_event_log.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M components/device_event_log/device_event_log_impl.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M device/hid/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M device/hid/hid.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M device/hid/hid_connection.cc View 6 chunks +15 lines, -13 lines 0 comments Download
M device/hid/hid_connection_linux.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M device/hid/hid_connection_mac.cc View 1 5 chunks +13 lines, -7 lines 0 comments Download
M device/hid/hid_connection_win.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M device/hid/hid_service.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M device/hid/hid_service_linux.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M device/hid/hid_service_mac.cc View 1 6 chunks +17 lines, -13 lines 0 comments Download
M device/hid/hid_service_win.cc View 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Reilly Grant (use Gerrit)
This adds similar logging for device/hid. The interesting part here is the new DEVICE_PLOG macro. ...
5 years, 10 months ago (2015-02-23 21:05:15 UTC) #3
stevenjb
Please have someone familiar with the HID code review this also. https://codereview.chromium.org/947663002/diff/20001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): ...
5 years, 10 months ago (2015-02-23 21:45:29 UTC) #4
Reilly Grant (use Gerrit)
Ken, please take a look at the HID changes. https://codereview.chromium.org/947663002/diff/20001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/947663002/diff/20001/chrome/app/chromium_strings.grd#newcode1356 chrome/app/chromium_strings.grd:1356: ...
5 years, 10 months ago (2015-02-23 22:40:38 UTC) #6
stevenjb
chrome/ and components/device_event_log/ lgtm https://codereview.chromium.org/947663002/diff/40001/components/device_event_log/device_event_log.h File components/device_event_log/device_event_log.h (right): https://codereview.chromium.org/947663002/diff/40001/components/device_event_log/device_event_log.h#newcode189 components/device_event_log/device_event_log.h:189: logging::SystemErrorCode err_; nit: I was ...
5 years, 10 months ago (2015-02-23 22:46:46 UTC) #7
Ken Rockot(use gerrit already)
hid lgtm
5 years, 10 months ago (2015-02-23 23:10:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947663002/60001
5 years, 10 months ago (2015-02-23 23:14:27 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 10 months ago (2015-02-24 01:28:51 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 01:29:36 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b9da284b42d4a3b9498d64f1c61452c5f5ae4ff2
Cr-Commit-Position: refs/heads/master@{#317722}

Powered by Google App Engine
This is Rietveld 408576698