diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 04:28:17 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 04:28:17 +0000 |
commit | 8feb52c0ba8d0136f03321827f9abe2aae1a757d (patch) | |
tree | 59158d6c5015ddee36b99b332eaf60679f3569b9 /content/browser/plugin_process_host.h | |
parent | d8e4f13fbb4eafb7a54c28c9809d6b7c19fd2411 (diff) | |
download | chromium_src-8feb52c0ba8d0136f03321827f9abe2aae1a757d.zip chromium_src-8feb52c0ba8d0136f03321827f9abe2aae1a757d.tar.gz chromium_src-8feb52c0ba8d0136f03321827f9abe2aae1a757d.tar.bz2 |
Code to collect issue 97285 debugging info for crash reports.
It is useful to record breakpad keys for debugging, which is not
applicable to multi-process bugs. This adds infrastructure to allow
collection of information across processes.
Also, fix so that GetPluginChannelHost() can successfully fail without
crashing.
BUG=97285,141055
Review URL: https://chromiumcodereview.appspot.com/10908078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155122 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.h')
-rw-r--r-- | content/browser/plugin_process_host.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/plugin_process_host.h b/content/browser/plugin_process_host.h index fc00434..95b2536 100644 --- a/content/browser/plugin_process_host.h +++ b/content/browser/plugin_process_host.h @@ -148,6 +148,11 @@ class CONTENT_EXPORT PluginProcessHost void OnPluginSetCursorVisibility(bool visible); #endif + // Forward client messages to content::debug::RecordMsg/GetMessages. + void OnContentDebugRecordMsg(int bug_id, const std::string& msg); + void OnContentDebugGetMessages(int bug_id, bool* handled, + std::vector<std::string>* msgs); + virtual bool CanShutdown() OVERRIDE; virtual void OnProcessCrashed(int exit_code) OVERRIDE; |