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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 553743002: Enable logging from Chromoting client plugin in PNaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index f0f9959d46446f771105627b2cf17e64c0f3a340..4b1e996acb6b49d6f35051a1c67e943c62f8ccfd 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -228,6 +228,9 @@ ChromotingInstance::ChromotingInstance(PP_Instance pp_instance)
thread_wrapper_.reset(
new jingle_glue::JingleThreadWrapper(plugin_task_runner_));
media::InitializeCPUSpecificYUVConversions();
+
+ // Register a global log handler.
+ ChromotingInstance::RegisterLogMessageHandler();
#else
jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop();
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698