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

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

Issue 17132012: Proxy support for P2P TCP Socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/p2p/socket_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_dispatcher_host.h
===================================================================
--- content/browser/renderer_host/p2p/socket_dispatcher_host.h (revision 207812)
+++ content/browser/renderer_host/p2p/socket_dispatcher_host.h (working copy)
@@ -13,6 +13,10 @@
#include "net/base/ip_endpoint.h"
#include "net/base/network_change_notifier.h"
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace content {
class P2PSocketHost;
@@ -22,7 +26,8 @@
: public content::BrowserMessageFilter,
public net::NetworkChangeNotifier::IPAddressObserver {
public:
- P2PSocketDispatcherHost(content::ResourceContext* resource_context);
+ P2PSocketDispatcherHost(content::ResourceContext* resource_context,
+ net::URLRequestContextGetter* url_context);
// content::BrowserMessageFilter overrides.
virtual void OnChannelClosing() OVERRIDE;
@@ -72,6 +77,7 @@
const net::IPAddressNumber& result);
content::ResourceContext* resource_context_;
+ scoped_refptr<net::URLRequestContextGetter> url_context_;
SocketsMap sockets_;
« no previous file with comments | « no previous file | content/browser/renderer_host/p2p/socket_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698