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

Unified Diff: content/common/child_thread.cc

Issue 10829199: Add more logging to ChildThread. (Closed) Base URL: svn://chrome-svn/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 | « content/common/child_thread.h ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_thread.cc
===================================================================
--- content/common/child_thread.cc (revision 150111)
+++ content/common/child_thread.cc (working copy)
@@ -108,6 +108,7 @@
channel_->AddFilter(histogram_message_filter_.get());
channel_->AddFilter(sync_message_filter_.get());
channel_->AddFilter(new ChildTraceMessageFilter());
+ LOG(INFO) << "ChildThread::Init";
#if defined(OS_POSIX)
// Check that --process-type is specified so we don't do this in unit tests
@@ -136,6 +137,10 @@
channel_->ClearIPCTaskRunner();
}
+void ChildThread::OnChannelConnected(int32 peer_pid) {
+ LOG(INFO) << "ChildThread::OnChannelConnected";
+}
+
void ChildThread::OnChannelError() {
LOG(INFO) << "ChildThread::OnChannelError";
set_on_channel_error_called(true);
« no previous file with comments | « content/common/child_thread.h ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698