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..40a3b093df216a9ce5325f4fe5e468447847a4d0 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_dir, |
const std::string& url, |
const std::map<std::string, std::string>& annotations, |
const std::vector<std::string>& arguments, |
@@ -232,6 +233,11 @@ bool CrashpadClient::StartHandler( |
database.value()), |
&command_line); |
} |
+ if (!metrics_dir.value().empty()) { |
+ AppendCommandLineArgument( |
+ FormatArgumentString("metrics-dir", metrics_dir.value()), |
+ &command_line); |
+ } |
if (!url.empty()) { |
AppendCommandLineArgument(FormatArgumentString("url", |
base::UTF8ToUTF16(url)), |