Commit 0f1683a8 authored by sergeyu's avatar sergeyu Committed by Commit bot

Enable logging from Chromoting client plugin in PNaCl.

Now all LOG() messages are forwarded from the PNaCl plugin to the
webapp. Previously this feature was enabled only for native Debug
builds.

Review URL: https://codereview.chromium.org/553743002

Cr-Commit-Position: refs/heads/master@{#293893}
parent 5008174c
...@@ -228,6 +228,9 @@ ChromotingInstance::ChromotingInstance(PP_Instance pp_instance) ...@@ -228,6 +228,9 @@ ChromotingInstance::ChromotingInstance(PP_Instance pp_instance)
thread_wrapper_.reset( thread_wrapper_.reset(
new jingle_glue::JingleThreadWrapper(plugin_task_runner_)); new jingle_glue::JingleThreadWrapper(plugin_task_runner_));
media::InitializeCPUSpecificYUVConversions(); media::InitializeCPUSpecificYUVConversions();
// Register a global log handler.
ChromotingInstance::RegisterLogMessageHandler();
#else #else
jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment