Chromium Code Reviews| 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)); |