Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1833)

Unified Diff: content/plugin/plugin_thread.cc

Issue 10908130: Revert 155122 - Code to collect issue 97285 debugging info for crash reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/content_debug_logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_thread.cc
===================================================================
--- content/plugin/plugin_thread.cc (revision 155239)
+++ content/plugin/plugin_thread.cc (working copy)
@@ -23,7 +23,6 @@
#include "content/common/child_process.h"
#include "content/common/npobject_util.h"
#include "content/common/plugin_messages.h"
-#include "content/public/common/content_debug_logging.h"
#include "content/public/common/content_switches.h"
#include "content/public/plugin/content_plugin_client.h"
#include "ipc/ipc_channel_handle.h"
@@ -69,19 +68,6 @@
}
};
-void RecordMsg(int bug_id, const std::string& msg) {
- PluginThread::current()->Send(
- new PluginProcessHostMsg_ContentDebugRecordMsg(bug_id, msg));
-}
-
-bool GetMessages(int bug_id, std::vector<std::string>* msgs) {
- bool handled = false;
- PluginThread::current()->Send(
- new PluginProcessHostMsg_ContentDebugGetMessages(
- bug_id, &handled, msgs));
- return handled;
-}
-
} // namespace
static base::LazyInstance<base::ThreadLocalPointer<PluginThread> > lazy_tls =
@@ -121,8 +107,6 @@
ui::SetDefaultX11ErrorHandlers();
#endif
- content::debug::RegisterMessageHandlers(RecordMsg, GetMessages);
-
PatchNPNFunctions();
// Preload the library to avoid loading, unloading then reloading
@@ -193,11 +177,6 @@
channel->set_incognito(incognito);
}
-#if defined(OS_MACOSX)
- content::debug::RecordMsg(97285, base::StringPrintf(
- "OnCreateChannel({%s, %d})",
- channel_handle.name.c_str(), channel_handle.socket.fd));
-#endif
Send(new PluginProcessHostMsg_ChannelCreated(channel_handle));
}
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/content_debug_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698