| Index: chrome/app/breakpad_win.cc
|
| diff --git a/chrome/app/breakpad_win.cc b/chrome/app/breakpad_win.cc
|
| index 6461a5dc44d2e3b6cbf9d080625b029df6128fca..b1216ccffae6282ec290ae35abf9d1e933988f7f 100644
|
| --- a/chrome/app/breakpad_win.cc
|
| +++ b/chrome/app/breakpad_win.cc
|
| @@ -614,6 +614,14 @@ bool ShowRestartDialogIfCrashed(bool* exit_now) {
|
| return false;
|
| }
|
|
|
| + // Only show this for the browser process. See crbug.com/132119.
|
| + const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + std::string process_type =
|
| + command_line.GetSwitchValueASCII(switches::kProcessType);
|
| + if (!process_type.empty()) {
|
| + return false;
|
| + }
|
| +
|
| DWORD len = ::GetEnvironmentVariableW(
|
| ASCIIToWide(env_vars::kRestartInfo).c_str(), NULL, 0);
|
| if (!len)
|
|
|