Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: trunk/src/content/browser/renderer_host/p2p/socket_dispatcher_host.h

Issue 307063003: Revert 273745 "Implements RTP header dumping." due to memory leak (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/browser/renderer_host/p2p/socket_dispatcher_host.h
===================================================================
--- trunk/src/content/browser/renderer_host/p2p/socket_dispatcher_host.h (revision 273764)
+++ trunk/src/content/browser/renderer_host/p2p/socket_dispatcher_host.h (working copy)
@@ -14,7 +14,6 @@
#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,15 +45,6 @@
// net::NetworkChangeNotifier::IPAddressObserver interface.
virtual void OnIPAddressChanged() OVERRIDE;
- // Starts the RTP packet header dumping. Must be called on the IO thread.
- void StartRtpDump(
- bool incoming,
- bool outgoing,
- const RenderProcessHost::WebRtcRtpPacketCallback& packet_callback);
-
- // Stops the RTP packet header dumping. Must be Called on the UI thread.
- void StopRtpDumpOnUIThread(bool incoming, bool outgoing);
-
protected:
virtual ~P2PSocketDispatcherHost();
@@ -95,8 +85,6 @@
void OnAddressResolved(DnsRequest* request,
const net::IPAddressList& addresses);
- void StopRtpDumpOnIOThread(bool incoming, bool outgoing);
-
content::ResourceContext* resource_context_;
scoped_refptr<net::URLRequestContextGetter> url_context_;
@@ -107,10 +95,6 @@
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);
};
« no previous file with comments | « trunk/src/chrome/chrome_tests_unit.gypi ('k') | trunk/src/content/browser/renderer_host/p2p/socket_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698