Index: third_party/crashpad/crashpad/client/crashpad_client_win.cc |
diff --git a/third_party/crashpad/crashpad/client/crashpad_client_win.cc b/third_party/crashpad/crashpad/client/crashpad_client_win.cc |
index 537e18ab99088b55deadc48c63c54da6289c157e..2a35f2c40766ae0b441f180ba63d5651cd692d61 100644 |
--- a/third_party/crashpad/crashpad/client/crashpad_client_win.cc |
+++ b/third_party/crashpad/crashpad/client/crashpad_client_win.cc |
@@ -200,6 +200,7 @@ CrashpadClient::~CrashpadClient() { |
bool CrashpadClient::StartHandler( |
const base::FilePath& handler, |
const base::FilePath& database, |
+ const base::FilePath& metrics, |
const std::string& url, |
const std::map<std::string, std::string>& annotations, |
const std::vector<std::string>& arguments, |
@@ -232,6 +233,10 @@ bool CrashpadClient::StartHandler( |
database.value()), |
&command_line); |
} |
+ if (!metrics.value().empty()) { |
+ AppendCommandLineArgument(FormatArgumentString("metrics", metrics.value()), |
+ &command_line); |
+ } |
if (!url.empty()) { |
AppendCommandLineArgument(FormatArgumentString("url", |
base::UTF8ToUTF16(url)), |