Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: chrome/app/breakpad_linux.h

Issue 173095: Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: move linux_breakpad==1 check into condition OS==Linux block Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_linux.h
===================================================================
--- chrome/app/breakpad_linux.h (revision 23911)
+++ chrome/app/breakpad_linux.h (working copy)
@@ -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 @@
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
« no previous file with comments | « build/common.gypi ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698