Log device/hid messages to chrome://device-log.
commitb9da284b42d4a3b9498d64f1c61452c5f5ae4ff2
authorreillyg <reillyg@chromium.org>
Tue, 24 Feb 2015 01:28:42 +0000 (23 17:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 24 Feb 2015 01:29:27 +0000 (24 01:29 +0000)
tree02220b4e22f2bbc7e5ee1db5797719f03133f72f
parent202524aacb06c948a3f4a34f4418f32b550c79b5
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

Review URL: https://codereview.chromium.org/947663002

Cr-Commit-Position: refs/heads/master@{#317722}
16 files changed:
chrome/app/chromium_strings.grd
chrome/browser/resources/device_log_ui/device_log_ui.html
chrome/browser/ui/webui/device_log_ui.cc
components/device_event_log/device_event_log.cc
components/device_event_log/device_event_log.h
components/device_event_log/device_event_log_impl.cc
device/hid/BUILD.gn
device/hid/hid.gyp
device/hid/hid_connection.cc
device/hid/hid_connection_linux.cc
device/hid/hid_connection_mac.cc
device/hid/hid_connection_win.cc
device/hid/hid_service.cc
device/hid/hid_service_linux.cc
device/hid/hid_service_mac.cc
device/hid/hid_service_win.cc