Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index 317f979b5e832f404e5e2819a7f67d8231c3f5fc..34a61f75b56b7da289ffcf5a2a7998e779e80cfd 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -1520,6 +1520,18 @@ void RenderProcessHostImpl::DisableAecDump() { |
| base::Bind(&RenderProcessHostImpl::SendDisableAecDumpToRenderer, |
| weak_factory_.GetWeakPtr())); |
| } |
| + |
| +void RenderProcessHostImpl::SetWebRtcLogMessageCallback( |
|
jam
2014/01/22 03:20:01
nit: we try to sort the methods in the cc file to
vrk (LEFT CHROMIUM)
2014/01/22 04:38:06
Done.
|
| + base::Callback<void(const std::string&)> callback) { |
| + DCHECK(webrtc_log_message_callback_.is_null()); |
| + webrtc_log_message_callback_ = callback; |
| +} |
| + |
| +void RenderProcessHostImpl::WebRtcLogMessage(const std::string& message) { |
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| + if (!webrtc_log_message_callback_.is_null()) |
| + webrtc_log_message_callback_.Run(message); |
| +} |
| #endif |
| IPC::ChannelProxy* RenderProcessHostImpl::GetChannel() { |