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

Unified Diff: content/browser/renderer_host/p2p/socket_host_tcp_server.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
Index: content/browser/renderer_host/p2p/socket_host_tcp_server.h
===================================================================
--- content/browser/renderer_host/p2p/socket_host_tcp_server.h (revision 206737)
+++ content/browser/renderer_host/p2p/socket_host_tcp_server.h (working copy)
@@ -20,6 +20,7 @@
namespace net {
class StreamSocket;
+class URLRequestContextGetter;
} // namespace net
namespace content {
@@ -29,7 +30,8 @@
typedef std::map<net::IPEndPoint, net::StreamSocket*> AcceptedSocketsMap;
P2PSocketHostTcpServer(IPC::Sender* message_sender, int id,
- P2PSocketType client_type);
+ P2PSocketType client_type,
+ net::URLRequestContextGetter* getter);
virtual ~P2PSocketHostTcpServer();
// P2PSocketHost overrides.
@@ -52,6 +54,7 @@
void OnAccepted(int result);
const P2PSocketType client_type_;
+ scoped_refptr<net::URLRequestContextGetter> context_getter_;
scoped_ptr<net::ServerSocket> socket_;
net::IPEndPoint local_address_;

Powered by Google App Engine
This is Rietveld 408576698