diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 07:25:06 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 07:25:06 +0000 |
commit | d0ea9a67eec3137940326bac3de97d4dfa459a08 (patch) | |
tree | ed0aa06fe980c5f9261f178964c8223bc003b403 /chrome/common | |
parent | b0d3f08961d7bb2e17df4683b7dfbce9a6ece4ee (diff) | |
download | chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.zip chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.tar.gz chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.tar.bz2 |
Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support.
TEST=none
BUG=19663
Review URL: http://codereview.chromium.org/173095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/child_process_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/child_process_host.cc b/chrome/common/child_process_host.cc index 1fa91f9..89a7a56 100644 --- a/chrome/common/child_process_host.cc +++ b/chrome/common/child_process_host.cc @@ -146,7 +146,8 @@ std::wstring ChildProcessHost::GetChildPath() { // static void ChildProcessHost::SetCrashReporterCommandLine(CommandLine* command_line) { #if defined(OS_POSIX) - if (GoogleUpdateSettings::GetCollectStatsConsent()) { + const bool unattended = (getenv("CHROME_HEADLESS") != NULL); + if (unattended || GoogleUpdateSettings::GetCollectStatsConsent()) { #if defined(OS_LINUX) command_line->AppendSwitchWithValue(switches::kEnableCrashReporter, ASCIIToWide(google_update::linux_guid + |