diff options
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 |