| 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 1f456915b24bfd20fb1cb109c5b02797119fe6b8..ac2b0f3b1419320c703c2406628fa4580e276730 100644
|
| --- a/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| @@ -14,6 +14,7 @@
|
| #include "content/common/p2p_socket_type.h"
|
| #include "content/public/browser/browser_message_filter.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/render_process_host.h"
|
| #include "net/base/ip_endpoint.h"
|
| #include "net/base/network_change_notifier.h"
|
|
|
| @@ -46,6 +47,14 @@ class P2PSocketDispatcherHost
|
| // net::NetworkChangeNotifier::IPAddressObserver interface.
|
| virtual void OnIPAddressChanged() OVERRIDE;
|
|
|
| + // Start or stop the RTP packet header dumping. Must be called on the IO
|
| + // thread.
|
| + void StartRtpDump(
|
| + RtpDumpType type,
|
| + const RenderProcessHost::WebRtcRtpPacketCallback& packet_callback);
|
| +
|
| + void StopRtpDump(RtpDumpType type);
|
| +
|
| protected:
|
| virtual ~P2PSocketDispatcherHost();
|
|
|
| @@ -97,6 +106,10 @@ class P2PSocketDispatcherHost
|
| std::set<DnsRequest*> dns_requests_;
|
| P2PMessageThrottler throttler_;
|
|
|
| + bool dump_incoming_rtp_packet_;
|
| + bool dump_outgoing_rtp_packet_;
|
| + RenderProcessHost::WebRtcRtpPacketCallback packet_callback_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost);
|
| };
|
|
|
|
|