| Index: content/browser/devtools/protocol/system_info_handler.cc
|
| diff --git a/content/browser/devtools/protocol/system_info_handler.cc b/content/browser/devtools/protocol/system_info_handler.cc
|
| index f0abfc1a20d72b7170344dfe5b6dfcf9b09e0a2c..a5e1b7303f1710f6993af3a4059482b1dc858e67 100644
|
| --- a/content/browser/devtools/protocol/system_info_handler.cc
|
| +++ b/content/browser/devtools/protocol/system_info_handler.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/bind.h"
|
| #include "base/command_line.h"
|
| #include "base/memory/ptr_util.h"
|
| +#include "base/strings/utf_string_conversions.h"
|
| #include "content/browser/gpu/compositor_util.h"
|
| #include "content/public/browser/gpu_data_manager.h"
|
| #include "gpu/config/gpu_feature_type.h"
|
| @@ -126,8 +127,16 @@ void SendGetInfoResponse(std::unique_ptr<GetInfoCallback> callback) {
|
| .SetDriverBugWorkarounds(std::move(driver_bug_workarounds))
|
| .Build();
|
|
|
| + base::CommandLine* command = base::CommandLine::ForCurrentProcess();
|
| +#if defined(OS_WIN)
|
| + std::string command_string =
|
| + base::WideToUTF8(command->GetCommandLineString());
|
| +#else
|
| + std::string command_string = command->GetCommandLineString();
|
| +#endif
|
| +
|
| callback->sendSuccess(std::move(gpu), gpu_info.machine_model_name,
|
| - gpu_info.machine_model_version);
|
| + gpu_info.machine_model_version, command_string);
|
| }
|
|
|
| } // namespace
|
|
|