diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:58:36 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:58:36 +0000 |
commit | be7b8bde97cfebff8e7299a3249ae8be2df96f20 (patch) | |
tree | 4d9a80d08b20cf3ca7c4cbecf0109287a3421d16 /components | |
parent | b7d5d58b37b737c1a650bb852e79d1d52af7b75e (diff) | |
download | chromium_src-be7b8bde97cfebff8e7299a3249ae8be2df96f20.zip chromium_src-be7b8bde97cfebff8e7299a3249ae8be2df96f20.tar.gz chromium_src-be7b8bde97cfebff8e7299a3249ae8be2df96f20.tar.bz2 |
Remove crash dump counting from breakpad_win.cc to BreakpadClient
BUG=247431
R=rsesek@chromium.org
Review URL: https://codereview.chromium.org/26409005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/breakpad/breakpad_client.cc | 6 | ||||
-rw-r--r-- | components/breakpad/breakpad_client.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc index fed987e..ae1bc65 100644 --- a/components/breakpad/breakpad_client.cc +++ b/components/breakpad/breakpad_client.cc @@ -68,6 +68,12 @@ bool BreakpadClient::GetShouldDumpLargerDumps(bool is_per_user_install) { int BreakpadClient::GetResultCodeRespawnFailed() { return 0; } + +void BreakpadClient::InitBrowserCrashDumpsRegKey() { +} + +void BreakpadClient::RecordCrashDumpAttempt(bool is_real_crash) { +} #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h index e92b8cb..3290eb3 100644 --- a/components/breakpad/breakpad_client.h +++ b/components/breakpad/breakpad_client.h @@ -83,6 +83,12 @@ class BreakpadClient { // Returns the result code to return when breakpad failed to respawn a // crashed process. virtual int GetResultCodeRespawnFailed(); + + // Invoked when initializing breakpad in the browser process. + virtual void InitBrowserCrashDumpsRegKey(); + + // Invoked before attempting to write a minidump. + virtual void RecordCrashDumpAttempt(bool is_real_crash); #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |