diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 07:25:06 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 07:25:06 +0000 |
commit | d0ea9a67eec3137940326bac3de97d4dfa459a08 (patch) | |
tree | ed0aa06fe980c5f9261f178964c8223bc003b403 /chrome/app/breakpad_linux.h | |
parent | b0d3f08961d7bb2e17df4683b7dfbce9a6ece4ee (diff) | |
download | chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.zip chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.tar.gz chromium_src-d0ea9a67eec3137940326bac3de97d4dfa459a08.tar.bz2 |
Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support.
TEST=none
BUG=19663
Review URL: http://codereview.chromium.org/173095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.h')
-rw-r--r-- | chrome/app/breakpad_linux.h | 7 |
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 |