Index: content/renderer/p2p/port_allocator.cc |
=================================================================== |
--- content/renderer/p2p/port_allocator.cc (revision 135898) |
+++ content/renderer/p2p/port_allocator.cc (working copy) |
@@ -70,17 +70,23 @@ |
P2PPortAllocator::~P2PPortAllocator() { |
} |
-cricket::PortAllocatorSession* P2PPortAllocator::CreateSession( |
+cricket::PortAllocatorSession* P2PPortAllocator::CreateSessionInternal( |
const std::string& channel_name, |
- int component) { |
- return new P2PPortAllocatorSession(this, channel_name, component); |
+ int component, |
+ const std::string& ice_ufrag, |
+ const std::string& ice_pwd) { |
+ return new P2PPortAllocatorSession( |
+ this, channel_name, component, ice_ufrag, ice_pwd); |
} |
P2PPortAllocatorSession::P2PPortAllocatorSession( |
P2PPortAllocator* allocator, |
const std::string& channel_name, |
- int component) |
- : cricket::BasicPortAllocatorSession(allocator, channel_name, component), |
+ int component, |
+ const std::string& ice_ufrag, |
+ const std::string& ice_pwd) |
+ : cricket::BasicPortAllocatorSession( |
+ allocator, channel_name, component, ice_ufrag, ice_pwd), |
allocator_(allocator), |
relay_session_attempts_(0), |
relay_udp_port_(0), |