| 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..2357bbbe0a20ee429f5c8828180536e0674c50ad 100644
|
| --- a/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| +++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
|
| @@ -35,7 +35,8 @@ class P2PSocketDispatcherHost
|
| public net::NetworkChangeNotifier::IPAddressObserver {
|
| public:
|
| P2PSocketDispatcherHost(content::ResourceContext* resource_context,
|
| - net::URLRequestContextGetter* url_context);
|
| + net::URLRequestContextGetter* url_context,
|
| + int render_process_host_id);
|
|
|
| // content::BrowserMessageFilter overrides.
|
| virtual void OnChannelClosing() OVERRIDE;
|
| @@ -46,6 +47,11 @@ class P2PSocketDispatcherHost
|
| // net::NetworkChangeNotifier::IPAddressObserver interface.
|
| virtual void OnIPAddressChanged() OVERRIDE;
|
|
|
| + // Start or stop the RTP packet header dumping. Mustbe called on the IO
|
| + // thread.
|
| + void StartRtpDump(bool incoming, bool outgoing);
|
| + void StopRtpDump(bool incoming, bool outgoing);
|
| +
|
| protected:
|
| virtual ~P2PSocketDispatcherHost();
|
|
|
| @@ -89,6 +95,7 @@ class P2PSocketDispatcherHost
|
|
|
| content::ResourceContext* resource_context_;
|
| scoped_refptr<net::URLRequestContextGetter> url_context_;
|
| + int render_process_host_id_;
|
|
|
| SocketsMap sockets_;
|
|
|
| @@ -97,6 +104,9 @@ class P2PSocketDispatcherHost
|
| std::set<DnsRequest*> dns_requests_;
|
| P2PMessageThrottler throttler_;
|
|
|
| + bool dump_incoming_rtp_packet_;
|
| + bool dump_outgoing_rtp_packet_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost);
|
| };
|
|
|
|
|