| Index: chrome_elf/crash/crash_helper.cc
|
| diff --git a/chrome_elf/crash/crash_helper.cc b/chrome_elf/crash/crash_helper.cc
|
| index c658fa949b7c5040fd74fa02cfea300b290ad8e7..87095c47994fdf4bfd69dd41da6279d5d1d0abc2 100644
|
| --- a/chrome_elf/crash/crash_helper.cc
|
| +++ b/chrome_elf/crash/crash_helper.cc
|
| @@ -103,7 +103,7 @@ void DisableSetUnhandledExceptionFilter() {
|
| SetUnhandledExceptionFilterPatch) != NO_ERROR) {
|
| #ifdef _DEBUG
|
| assert(false);
|
| -#endif //_DEBUG
|
| +#endif // _DEBUG
|
| }
|
| }
|
|
|
| @@ -120,6 +120,11 @@ int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers) {
|
| // Exported crash APIs for the rest of the process.
|
| //------------------------------------------------------------------------------
|
|
|
| +// This helper is invoked by chrome to read upload settings.
|
| +extern "C" __declspec(dllexport) bool GetUploadsEnabled() {
|
| + return crash_reporter::GetUploadsEnabled();
|
| +}
|
| +
|
| // This helper is invoked by code in chrome.dll to retrieve the crash reports.
|
| // See CrashUploadListCrashpad. Note that we do not pass a std::vector here,
|
| // because we do not want to allocate/free in different modules. The returned
|
|
|