summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_host.cc
diff options
context:
space:
mode:
authoryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 11:23:45 +0000
committeryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 11:23:45 +0000
commitbbdd97bbc006c4ecba801d604e720883a9c0f0ce (patch)
tree4716f63969bb30847cf8335f9d2a4838db51332d /chrome/common/child_process_host.cc
parent0935275316a0edc8595edf0fc268f69adf1e0d86 (diff)
downloadchromium_src-bbdd97bbc006c4ecba801d604e720883a9c0f0ce.zip
chromium_src-bbdd97bbc006c4ecba801d604e720883a9c0f0ce.tar.gz
chromium_src-bbdd97bbc006c4ecba801d604e720883a9c0f0ce.tar.bz2
Reverting 24220.
It seemed that r24220 caused failures on all of Linux UI (valgrind) bots. TBR=thestig@chromium.org Review URL: http://codereview.chromium.org/173345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_host.cc')
-rw-r--r--chrome/common/child_process_host.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc
index 89a7a56..1fa91f9 100644
--- a/chrome/common/child_process_host.cc
+++ b/chrome/common/child_process_host.cc
@@ -146,8 +146,7 @@ std::wstring ChildProcessHost::GetChildPath() {
// static
void ChildProcessHost::SetCrashReporterCommandLine(CommandLine* command_line) {
#if defined(OS_POSIX)
- const bool unattended = (getenv("CHROME_HEADLESS") != NULL);
- if (unattended || GoogleUpdateSettings::GetCollectStatsConsent()) {
+ if (GoogleUpdateSettings::GetCollectStatsConsent()) {
#if defined(OS_LINUX)
command_line->AppendSwitchWithValue(switches::kEnableCrashReporter,
ASCIIToWide(google_update::linux_guid +