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

Unified Diff: headless/app/headless_shell.cc

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: clang compile Created 3 years, 7 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
Index: headless/app/headless_shell.cc
diff --git a/headless/app/headless_shell.cc b/headless/app/headless_shell.cc
index d62a8cd8409cdf5bd03c8811651753433d6ad6d6..4fccf6040a3ed752105834cb93d8a8841f8b3cf9 100644
--- a/headless/app/headless_shell.cc
+++ b/headless/app/headless_shell.cc
@@ -549,7 +549,8 @@ int HeadlessShellMain(HINSTANCE instance,
::switches::kProcessType);
if (process_type == crash_reporter::switches::kCrashpadHandler) {
return crash_reporter::RunAsCrashpadHandler(
- *base::CommandLine::ForCurrentProcess(), ::switches::kProcessType);
+ *base::CommandLine::ForCurrentProcess(), base::FilePath(),
+ ::switches::kProcessType, switches::kUserDataDir);
grt (UTC plus 2) 2017/05/24 06:58:49 uber-nit: "::switches::kUserDataDir" for consisten
manzagop (departed) 2017/05/24 13:19:53 Actually, that second one is in the headless names
grt (UTC plus 2) 2017/05/24 13:35:02 Ha. Hrm. I'd be inclined to remove :: from the fir
alex clarke (OOO till 29th) 2017/05/24 13:45:06 I don't know why this code is using :: If it compi
manzagop (departed) 2017/05/24 15:40:29 Hm, I think the author's intent was to highlight t
alex clarke (OOO till 29th) 2017/05/24 16:30:48 Ah yes you're probably right. Lets leave it as is
}
#endif // defined(HEADLESS_USE_CRASPHAD)
RunChildProcessIfNeeded(instance, sandbox_info);

Powered by Google App Engine
This is Rietveld 408576698