summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.h
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.h
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.h')
-rw-r--r--chrome/app/breakpad_linux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h
index 53f43a1..e7dfebb 100644
--- a/chrome/app/breakpad_linux.h
+++ b/chrome/app/breakpad_linux.h
@@ -9,7 +9,6 @@
extern void InitCrashReporter();
-#if defined(USE_LINUX_BREAKPAD)
static const size_t kMaxActiveURLSize = 1024;
static const size_t kGuidSize = 32; // 128 bits = 32 chars in hex.
static const size_t kDistroSize = 128;
@@ -28,7 +27,6 @@ struct BreakpadInfo {
};
extern int HandleCrashDump(const BreakpadInfo& info);
-#endif // defined(USE_LINUX_BREAKPAD)
#if defined(GOOGLE_CHROME_BUILD)
// Checks that the kernel's core filename pattern is "core" and moves the