diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 14:27:06 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 14:27:06 +0000 |
commit | e035f1061871a71d534a073052c538ea705f03b3 (patch) | |
tree | 8a0fd68dc5b76875491aa7c446fc655eef9cb546 /components | |
parent | b206ca1adc2322d2b3ccc1365da8ddf9977d1eed (diff) | |
download | chromium_src-e035f1061871a71d534a073052c538ea705f03b3.zip chromium_src-e035f1061871a71d534a073052c538ea705f03b3.tar.gz chromium_src-e035f1061871a71d534a073052c538ea705f03b3.tar.bz2 |
Move dependency on chrome_result_codes.h on breakpad client interface
BUG=247431
R=bauerb@chromium.org
Review URL: https://chromiumcodereview.appspot.com/21526002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215030 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r-- | components/breakpad/breakpad_client.cc | 4 | ||||
-rw-r--r-- | components/breakpad/breakpad_client.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/components/breakpad/breakpad_client.cc b/components/breakpad/breakpad_client.cc index ecfe166..6921ec3 100644 --- a/components/breakpad/breakpad_client.cc +++ b/components/breakpad/breakpad_client.cc @@ -65,6 +65,10 @@ bool BreakpadClient::GetIsPerUserInstall(const base::FilePath& exe_path) { bool BreakpadClient::GetShouldDumpLargerDumps(bool is_per_user_install) { return false; } + +int BreakpadClient::GetResultCodeRespawnFailed() { + return 0; +} #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 b678dcf..9ce14bb 100644 --- a/components/breakpad/breakpad_client.h +++ b/components/breakpad/breakpad_client.h @@ -67,6 +67,10 @@ class BreakpadClient { // Returns true if larger crash dumps should be dumped. virtual bool GetShouldDumpLargerDumps(bool is_per_user_install); + + // Returns the result code to return when breakpad failed to respawn a + // crashed process. + virtual int GetResultCodeRespawnFailed(); #endif #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |