Index: chrome/app/breakpad_linux.h |
=================================================================== |
--- chrome/app/breakpad_linux.h (revision 20935) |
+++ chrome/app/breakpad_linux.h (working copy) |
@@ -10,14 +10,21 @@ |
#if defined(GOOGLE_CHROME_BUILD) |
static const unsigned kMaxActiveURLSize = 1024; |
static const unsigned kGuidSize = 32; // 128 bits = 32 chars in hex. |
+static const unsigned kDistroSize = 128; |
-extern int UploadCrashDump(const char* filename, |
- const char* process_type, |
- unsigned process_type_length, |
- const char* crash_url, |
- unsigned crash_url_length, |
- const char* guid, |
- unsigned guid_length); |
+struct BreakpadInfo { |
+ const char* filename; |
+ const char* process_type; |
+ unsigned process_type_length; |
+ const char* crash_url; |
+ unsigned crash_url_length; |
+ const char* guid; |
+ unsigned guid_length; |
+ const char* distro; |
+ unsigned distro_length; |
+}; |
+ |
+extern int UploadCrashDump(const BreakpadInfo& info); |
#endif // defined(GOOGLE_CHROME_BUILD) |
#endif // CHROME_APP_BREAKPAD_LINUX_H_ |