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

Unified Diff: chrome/app/breakpad_linux.cc

Issue 147004: Linux: fix crash reporting for zygote model (Closed)
Patch Set: Created 11 years, 6 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
« no previous file with comments | « no previous file | chrome/app/chrome_dll_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_linux.cc
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index 2b293be96793f36ec622940d3ac7e87262d4e50a..588118a2b5eff13381ace5a447cc10752d48ddef 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -518,8 +518,10 @@ void InitCrashReporter() {
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
const std::wstring process_type =
parsed_command_line.GetSwitchValue(switches::kProcessType);
- if (process_type.empty())
+ if (process_type.empty()) {
EnableCrashDumping();
- else if (process_type == switches::kRendererProcess)
+ } else if (process_type == switches::kRendererProcess ||
+ process_type == switches::kZygoteProcess) {
Lei Zhang 2009/06/23 03:52:45 Is this ever the case? When does a zygote process
EnableRendererCrashDumping();
+ }
}
« no previous file with comments | « no previous file | chrome/app/chrome_dll_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698