| Index: content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.h b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| index 21376bdd320d61e611101af9f6a49dbaf22100b0..881c66dc936d2de32f30d0322a6b8b26f505c52d 100644
|
| --- a/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| @@ -46,6 +46,7 @@ class P2PSocketDispatcherHost
|
| // net::NetworkChangeNotifier::IPAddressObserver interface.
|
| virtual void OnIPAddressChanged() OVERRIDE;
|
|
|
| +#if defined(ENABLE_WEBRTC)
|
| // Starts the RTP packet header dumping. Must be called on the IO thread.
|
| void StartRtpDump(
|
| bool incoming,
|
| @@ -54,6 +55,7 @@ class P2PSocketDispatcherHost
|
|
|
| // Stops the RTP packet header dumping. Must be Called on the UI thread.
|
| void StopRtpDumpOnUIThread(bool incoming, bool outgoing);
|
| +#endif
|
|
|
| protected:
|
| virtual ~P2PSocketDispatcherHost();
|
| @@ -109,7 +111,9 @@ class P2PSocketDispatcherHost
|
|
|
| bool dump_incoming_rtp_packet_;
|
| bool dump_outgoing_rtp_packet_;
|
| +#if defined(ENABLE_WEBRTC)
|
| RenderProcessHost::WebRtcRtpPacketCallback packet_callback_;
|
| +#endif
|
|
|
| DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost);
|
| };
|
|
|