summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad.h
diff options
context:
space:
mode:
authornsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 18:26:01 +0000
committernsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-31 18:26:01 +0000
commitb3358a60841326bc3da7222191994e33135339ad (patch)
tree54b9d2ec310a9030eaefc2564547123f0f362a60 /chrome/app/breakpad.h
parentdc36e9c53d3760bbdc4253b786c4686f4cf7a3ea (diff)
downloadchromium_src-b3358a60841326bc3da7222191994e33135339ad.zip
chromium_src-b3358a60841326bc3da7222191994e33135339ad.tar.gz
chromium_src-b3358a60841326bc3da7222191994e33135339ad.tar.bz2
We did not display "Chrome crashed, Do you want to restart chrome" when breakpad is not initialized. Now we register a exception filter all the time.
BUG:1302309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad.h')
-rw-r--r--chrome/app/breakpad.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/app/breakpad.h b/chrome/app/breakpad.h
index ad87567..2d0f9f8e 100644
--- a/chrome/app/breakpad.h
+++ b/chrome/app/breakpad.h
@@ -37,6 +37,10 @@
// or directly for the plugin and renderer process.
void InitCrashReporter(std::wstring dll_path);
+// Intercepts a crash but does not process it, just ask if we want to restart
+// the browser or not.
+void InitDefaultCrashCallback();
+
// Initializes the crash reporter in chrome.
unsigned __stdcall InitCrashReporterThread(void* param);