| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 73522cb58019a57e8f626a7ef5c66dcf4b622422..a2d8df52e148c7d3141da328eb2c58a2c6b7c16d 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -124,6 +124,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| #if defined(ENABLE_WEBRTC)
|
| virtual void EnableAecDump(const base::FilePath& file) OVERRIDE;
|
| virtual void DisableAecDump() OVERRIDE;
|
| + virtual void SetWebRtcLogMessageCallback(
|
| + base::Callback<void(const std::string&)> callback) OVERRIDE;
|
| #endif
|
|
|
| // IPC::Sender via RenderProcessHost.
|
| @@ -165,6 +167,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| return make_scoped_refptr(geolocation_dispatcher_host_);
|
| }
|
|
|
| +#if defined(ENABLE_WEBRTC)
|
| + // Fires the webrtc log message callback with |message|, if callback is set.
|
| + void WebRtcLogMessage(const std::string& message);
|
| +#endif
|
| +
|
| // Register/unregister the host identified by the host id in the global host
|
| // list.
|
| static void RegisterHost(int host_id, RenderProcessHost* host);
|
| @@ -389,6 +396,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Message filter for geolocation messages.
|
| GeolocationDispatcherHost* geolocation_dispatcher_host_;
|
|
|
| +#if defined(ENABLE_WEBRTC)
|
| + base::Callback<void(const std::string&)> webrtc_log_message_callback_;
|
| +#endif
|
| +
|
| // Lives on the browser's ChildThread.
|
| base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
|
|
|
|
|