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

Unified Diff: chrome/app/breakpad_linux.h

Issue 11189068: Changing minidump process generation to be in-process on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced again. Created 8 years, 2 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 | « no previous file | 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
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h
index 78196538947cb619d3a3947313cb6b609733d16f..01c79a8f297c56b1d034b93c440e6cb59c9aba8d 100644
--- a/chrome/app/breakpad_linux.h
+++ b/chrome/app/breakpad_linux.h
@@ -8,6 +8,9 @@
#include "base/basictypes.h"
extern void InitCrashReporter();
+#if defined(OS_ANDROID)
+extern void InitNonBrowserCrashReporterForAndroid(int minidump_fd);
+#endif
bool IsCrashReporterEnabled();
static const size_t kMaxActiveURLSize = 1024;
@@ -17,7 +20,11 @@ static const size_t kDistroSize = 128;
static const size_t kMaxAsanReportSize = 1 << 16;
#endif
+// BreakpadInfo describes a crash report.
+// The minidump information can either be contained in a file descriptor (fd) or
+// in a file (whose path is in filename).
struct BreakpadInfo {
+ int fd; // File descriptor to the Breakpad dump data.
const char* filename; // Path to the Breakpad dump data.
#if defined(ADDRESS_SANITIZER)
const char* log_filename; // Path to the ASan log file.
« no previous file with comments | « no previous file | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698