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_; |