summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/broker_dispatcher.cc
diff options
context:
space:
mode:
authorddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 22:27:41 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-26 22:27:41 +0000
commit1977348dd202ea5bc716f44be23972520c434ed9 (patch)
treee800c4b58354769a7752c384508c85a589aff5ba /ppapi/proxy/broker_dispatcher.cc
parent4cf30858ab646a9e315fb9515a06c5d58c6da575 (diff)
downloadchromium_src-1977348dd202ea5bc716f44be23972520c434ed9.zip
chromium_src-1977348dd202ea5bc716f44be23972520c434ed9.tar.gz
chromium_src-1977348dd202ea5bc716f44be23972520c434ed9.tar.bz2
Added logging useful for understanding Pepper broker lifetime.
Also, added support for VLOG to Pepper OOP plugin and Pepper broker processes by forwarding --vmodule to these processes. BUG=none TEST=Launch a dbg build of Chrome with --vmodule=ppapi_plugin_process_host=1,broker_process_dispatcher=1,ppapi_broker_main=1,broker_dispatcher=1,proxy_channel=1", visit a page that uses the broker, and navigate away from that page. The new log statements should be displayed. Review URL: http://codereview.chromium.org/8347009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/broker_dispatcher.cc')
-rw-r--r--ppapi/proxy/broker_dispatcher.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/broker_dispatcher.cc b/ppapi/proxy/broker_dispatcher.cc
index 23c1324..30cee18 100644
--- a/ppapi/proxy/broker_dispatcher.cc
+++ b/ppapi/proxy/broker_dispatcher.cc
@@ -83,6 +83,7 @@ BrokerHostDispatcher::BrokerHostDispatcher(
}
void BrokerHostDispatcher::OnChannelError() {
+ DVLOG(1) << "BrokerHostDispatcher::OnChannelError()";
BrokerDispatcher::OnChannelError(); // Stop using the channel.
// Tell the host about the crash so it can clean up and display notification.
@@ -97,6 +98,7 @@ BrokerSideDispatcher::BrokerSideDispatcher(
}
void BrokerSideDispatcher::OnChannelError() {
+ DVLOG(1) << "BrokerSideDispatcher::OnChannelError()";
BrokerDispatcher::OnChannelError();
// The renderer has crashed or exited. This channel and all instances