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

Unified Diff: content/common/np_channel_base.cc

Issue 10854092: Add moar logging for "Couldn't load plug-in" errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | ipc/ipc_sync_channel.cc » ('j') | ipc/ipc_sync_channel.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/np_channel_base.cc
diff --git a/content/common/np_channel_base.cc b/content/common/np_channel_base.cc
index 007f7a1af071a9cb01813d89db868bc93cea27db..564095811802b4f07b504daf981f06c0e28a34c1 100644
--- a/content/common/np_channel_base.cc
+++ b/content/common/np_channel_base.cc
@@ -141,6 +141,7 @@ bool NPChannelBase::Init(base::MessageLoopProxy* ipc_message_loop,
bool NPChannelBase::Send(IPC::Message* message) {
if (!channel_.get()) {
+ LOG(ERROR) << "Channel is NULL; dropping message";
delete message;
return false;
}
« no previous file with comments | « no previous file | ipc/ipc_sync_channel.cc » ('j') | ipc/ipc_sync_channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698