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-07-15 23:07:34 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-15 23:07:34 +0000
commit2eb41e766aeee36207576631717c3bfc586ad5ec (patch)
treef68b9c7f828c5f2f7c56efc53c8f5d9229c38a30 /chrome/app/breakpad_linux.h
parent9c8ae2730a8da2aa7fbeaf843754fb731d6f7334 (diff)
downloadchromium_src-2eb41e766aeee36207576631717c3bfc586ad5ec.zip
chromium_src-2eb41e766aeee36207576631717c3bfc586ad5ec.tar.gz
chromium_src-2eb41e766aeee36207576631717c3bfc586ad5ec.tar.bz2
Make Linux crash death signal message constant sized.
BUG=none TEST=none Review URL: http://codereview.chromium.org/149709 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.h')
-rw-r--r--chrome/app/breakpad_linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/breakpad_linux.h b/chrome/app/breakpad_linux.h
index 3e82383a..977adf0 100644
--- a/chrome/app/breakpad_linux.h
+++ b/chrome/app/breakpad_linux.h
@@ -6,6 +6,11 @@
#define CHROME_APP_BREAKPAD_LINUX_H_
extern void InitCrashReporter();
+
+#if defined(GOOGLE_CHROME_BUILD)
+static const unsigned kMaxActiveURLSize = 1024;
+static const unsigned kGuidSize = 32; // 128 bits = 32 chars in hex.
+
extern int UploadCrashDump(const char* filename,
const char* process_type,
unsigned process_type_length,
@@ -13,5 +18,6 @@ extern int UploadCrashDump(const char* filename,
unsigned crash_url_length,
const char* guid,
unsigned guid_length);
+#endif // defined(GOOGLE_CHROME_BUILD)
#endif // CHROME_APP_BREAKPAD_LINUX_H_