summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 22:12:23 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 22:12:23 +0000
commitba80aa757802e51920657a5416e50139f146c6b0 (patch)
treed5ec93d13c6ecf67eef112d1fd8e46df593d53cc /chrome/app/breakpad_linux.cc
parentdec7b17e7308a19743191c04f900927e6df32fda (diff)
downloadchromium_src-ba80aa757802e51920657a5416e50139f146c6b0.zip
chromium_src-ba80aa757802e51920657a5416e50139f146c6b0.tar.gz
chromium_src-ba80aa757802e51920657a5416e50139f146c6b0.tar.bz2
Make Linux Breakpad initialization call to lsb_release asynchronous. Also wrap more
things in USE_LINUX_BREAKPAD while we're at it. BUG=21782 TEST=Add time.sleep(10) to /usr/bin/lsb_release; starting Chrome should not take 10 seconds more. Review URL: http://codereview.chromium.org/209042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index a9c11d7..6945a12 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -24,7 +24,6 @@
#include "base/format_macros.h"
#include "base/global_descriptors_posix.h"
#include "base/json_writer.h"
-#include "base/linux_util.h"
#include "base/path_service.h"
#include "base/rand_util.h"
#include "base/scoped_fd.h"
@@ -644,7 +643,6 @@ void InitCrashReporter() {
if (process_type.empty()) {
if (!(unattended || GoogleUpdateSettings::GetCollectStatsConsent()))
return;
- base::GetLinuxDistro(); // Initialize base::linux_distro if needed.
EnableCrashDumping(unattended);
} else if (process_type == switches::kRendererProcess ||
process_type == switches::kZygoteProcess) {