Commit 6954759f authored by Dariusz Marcinkiewicz's avatar Dariusz Marcinkiewicz Committed by Commit Bot

Add uptime to feedbackPrivate.readLogSource.

BUG=b:67364190

Change-Id: I4ed4699343fa9604ec4d47a033dc30f3427b628e
Reviewed-on: https://chromium-review.googlesource.com/718749
Commit-Queue: Dariusz Marcinkiewicz <darekm@chromium.org>
Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
Reviewed-by: default avatarToni Barzic <tbarzic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509717}
parent 0d9809ed
......@@ -152,6 +152,9 @@ ChromeFeedbackPrivateDelegate::CreateSingleLogSource(
case api::feedback_private::LOG_SOURCE_IFCONFIG:
return std::make_unique<system_logs::SingleDebugDaemonLogSource>(
SupportedDebugDaemonSource::kIfconfig);
case api::feedback_private::LOG_SOURCE_UPTIME:
return std::make_unique<system_logs::SingleDebugDaemonLogSource>(
SupportedDebugDaemonSource::kUptime);
case api::feedback_private::LOG_SOURCE_NONE:
default:
......
......@@ -131,7 +131,10 @@ namespace feedbackPrivate {
lspci,
// Info about system network interface.
ifconfig
ifconfig,
// Info about system uptime.
uptime
};
// Input parameters for a readLogSource() call.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment