diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 20:58:56 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-06 20:58:56 +0000 |
commit | 1a63a2aca6711da6be0fc539a4f0511ad496b2a0 (patch) | |
tree | d5b4ec6d548177f5212daf438a238865d388ea0f /content/browser/plugin_process_host.cc | |
parent | ad407a0d3552faa14c837a81d89ab8a3d4f9054c (diff) | |
download | chromium_src-1a63a2aca6711da6be0fc539a4f0511ad496b2a0.zip chromium_src-1a63a2aca6711da6be0fc539a4f0511ad496b2a0.tar.gz chromium_src-1a63a2aca6711da6be0fc539a4f0511ad496b2a0.tar.bz2 |
Revert 155122 - Code to collect issue 97285 debugging info for crash reports.
[TPM is suspicious of Windows renderer crash rate. Seems impossible,
but who knows?]
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
TBR=shess@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10908130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.cc')
-rw-r--r-- | content/browser/plugin_process_host.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc index b0d0f2c..23cac73 100644 --- a/content/browser/plugin_process_host.cc +++ b/content/browser/plugin_process_host.cc @@ -32,7 +32,6 @@ #include "content/public/browser/content_browser_client.h" #include "content/public/browser/notification_types.h" #include "content/public/browser/plugin_service.h" -#include "content/public/common/content_debug_logging.h" #include "content/public/common/content_switches.h" #include "content/public/common/process_type.h" #include "ipc/ipc_switches.h" @@ -334,10 +333,6 @@ bool PluginProcessHost::OnMessageReceived(const IPC::Message& msg) { IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginSetCursorVisibility, OnPluginSetCursorVisibility) #endif - IPC_MESSAGE_HANDLER(PluginProcessHostMsg_ContentDebugRecordMsg, - OnContentDebugRecordMsg) - IPC_MESSAGE_HANDLER(PluginProcessHostMsg_ContentDebugGetMessages, - OnContentDebugGetMessages) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() @@ -459,14 +454,3 @@ void PluginProcessHost::OnChannelCreated( client->OnChannelOpened(channel_handle); sent_requests_.pop_front(); } - -// TODO(shess): Could this be annotated WRT the sending plugin? -void PluginProcessHost::OnContentDebugRecordMsg(int bug_id, - const std::string& msg) { - content::debug::RecordMsg(bug_id, msg); -} - -void PluginProcessHost::OnContentDebugGetMessages( - int bug_id, bool* handled, std::vector<std::string>* msgs) { - *handled = content::debug::GetMessages(bug_id, msgs); -} |