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-08-26 00:14:27 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 00:14:27 +0000
commitcbd5fd5ead41910dce8a20ec53ce1195548440d5 (patch)
tree13e0a2a823ba8ae31d829e7098763ebd1a7d0a68 /chrome/app/breakpad_linux.h
parent0c22345d5e500ad60e51b7a4c4da29fe3cf6ff64 (diff)
downloadchromium_src-cbd5fd5ead41910dce8a20ec53ce1195548440d5.zip
chromium_src-cbd5fd5ead41910dce8a20ec53ce1195548440d5.tar.gz
chromium_src-cbd5fd5ead41910dce8a20ec53ce1195548440d5.tar.bz2
Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support. (Try 2)
TEST=none BUG=19663 Original Review URL: http://codereview.chromium.org/173095 Review URL: http://codereview.chromium.org/173397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24378 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.h')
-rw-r--r--chrome/app/breakpad_linux.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h
index d06c9a2..53f43a1 100644
--- a/chrome/app/breakpad_linux.h
+++ b/chrome/app/breakpad_linux.h
@@ -9,7 +9,7 @@
extern void InitCrashReporter();
-#if defined(GOOGLE_CHROME_BUILD)
+#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;
@@ -24,10 +24,13 @@ struct BreakpadInfo {
unsigned guid_length;
const char* distro;
unsigned distro_length;
+ bool upload;
};
-extern int UploadCrashDump(const BreakpadInfo& info);
+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
// current working directory to a temp directory.
// Returns true iff core dumping has been successfully enabled for the current