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

Unified Diff: content/browser/renderer_host/p2p/socket_host.cc

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.cc
===================================================================
--- content/browser/renderer_host/p2p/socket_host.cc (revision 207453)
+++ content/browser/renderer_host/p2p/socket_host.cc (working copy)
@@ -72,7 +72,8 @@
// static
P2PSocketHost* P2PSocketHost::Create(
- IPC::Sender* message_sender, int id, P2PSocketType type) {
+ IPC::Sender* message_sender, int id, P2PSocketType type,
+ net::URLRequestContextGetter* url_context) {
switch (type) {
case P2P_SOCKET_UDP:
return new P2PSocketHostUdp(message_sender, id);
@@ -86,10 +87,10 @@
message_sender, id, P2P_SOCKET_STUN_TCP_CLIENT);
case P2P_SOCKET_TCP_CLIENT:
- return new P2PSocketHostTcp(message_sender, id);
+ return new P2PSocketHostTcp(message_sender, id, url_context);
case P2P_SOCKET_STUN_TCP_CLIENT:
- return new P2PSocketHostStunTcp(message_sender, id);
+ return new P2PSocketHostStunTcp(message_sender, id, url_context);
}
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698