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

Unified Diff: chrome/browser/chromeos/system_logs/command_line_log_source.cc

Issue 2856813002: Add list of plugged-in USB devices to feedback reports (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system_logs/command_line_log_source.cc
diff --git a/chrome/browser/chromeos/system_logs/command_line_log_source.cc b/chrome/browser/chromeos/system_logs/command_line_log_source.cc
index df312dc988ad3f1dd44bd7f79c8a509f3d367d1f..55290e7ed0d9cd6c45de3b9b799c1fd30cf41693 100644
--- a/chrome/browser/chromeos/system_logs/command_line_log_source.cc
+++ b/chrome/browser/chromeos/system_logs/command_line_log_source.cc
@@ -80,6 +80,12 @@ void ExecuteCommandLines(system_logs::SystemLogsResponse* response) {
commands.push_back(std::make_pair("system_files", command));
}
+ // Track the list of plugged-in USB devices.
+ command = base::CommandLine(base::FilePath("/bin/sh"));
+ command.AppendArg("-c");
+ command.AppendArg("/usr/bin/lsusb -t");
+ commands.emplace_back("usb_devices", command);
xiyuan 2017/05/02 06:07:04 Do you want to update other push_back s ?
+
// Get disk space usage information
command = base::CommandLine(base::FilePath("/bin/df"));
commands.push_back(std::make_pair("disk_usage", command));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698