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 cddc4dc115d97db62e3ed1a8be458399fab22994..e94e88f670523f9cb48dcc3da8d3bb67cf4b75b1 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -43,6 +43,9 @@ class GeolocationDispatcherHost; |
class GpuMessageFilter; |
class MessagePortMessageFilter; |
class MojoApplicationHost; |
+#if defined(ENABLE_WEBRTC) |
+class P2PSocketDispatcherHost; |
+#endif |
class PeerConnectionTrackerHost; |
class RendererMainThread; |
class RenderProcessHostMojoImpl; |
@@ -130,6 +133,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
virtual void DisableAecDump() OVERRIDE; |
virtual void SetWebRtcLogMessageCallback( |
base::Callback<void(const std::string&)> callback) OVERRIDE; |
+ virtual void SetWebRtcRtpPacketCallback( |
+ const WebRtcRtpPacketCallback& callback) OVERRIDE; |
+ virtual void StartRtpDump(bool incoming, bool outgoing) OVERRIDE; |
+ virtual void StopRtpDump(bool incoming, bool outgoing) OVERRIDE; |
#endif |
virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) |
OVERRIDE; |
@@ -173,6 +180,11 @@ class CONTENT_EXPORT RenderProcessHostImpl |
#if defined(ENABLE_WEBRTC) |
// Fires the webrtc log message callback with |message|, if callback is set. |
void WebRtcLogMessage(const std::string& message); |
+ |
+ void OnRtpPacket(const uint8* packet_header, |
+ size_t header_length, |
+ size_t packet_length, |
+ bool incoming); |
#endif |
scoped_refptr<ScreenOrientationDispatcherHost> |
@@ -416,6 +428,10 @@ class CONTENT_EXPORT RenderProcessHostImpl |
#if defined(ENABLE_WEBRTC) |
base::Callback<void(const std::string&)> webrtc_log_message_callback_; |
+ |
+ WebRtcRtpPacketCallback webrtc_rtp_packet_callback_; |
+ |
+ scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
#endif |
// Message filter and dispatcher for screen orientation. |