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

Unified Diff: remoting/host/host_port_allocator.cc

Issue 10382003: Changes needed to roll libjingle r141 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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: remoting/host/host_port_allocator.cc
===================================================================
--- remoting/host/host_port_allocator.cc (revision 135898)
+++ remoting/host/host_port_allocator.cc (working copy)
@@ -24,6 +24,8 @@
cricket::HttpPortAllocatorBase* allocator,
const std::string& channel_name,
int component,
+ const std::string& ice_username_fragment,
+ const std::string& ice_password,
const std::vector<talk_base::SocketAddress>& stun_hosts,
const std::vector<std::string>& relay_hosts,
const std::string& relay,
@@ -50,12 +52,15 @@
cricket::HttpPortAllocatorBase* allocator,
const std::string& channel_name,
int component,
+ const std::string& ice_username_fragment,
+ const std::string& ice_password,
const std::vector<talk_base::SocketAddress>& stun_hosts,
const std::vector<std::string>& relay_hosts,
const std::string& relay,
const scoped_refptr<net::URLRequestContextGetter>& url_context)
: HttpPortAllocatorSessionBase(
- allocator, channel_name, component, stun_hosts, relay_hosts, relay, ""),
+ allocator, channel_name, component, ice_username_fragment, ice_password,
+ stun_hosts, relay_hosts, relay, ""),
url_context_(url_context) {
}
@@ -154,12 +159,14 @@
HostPortAllocator::~HostPortAllocator() {
}
-cricket::PortAllocatorSession* HostPortAllocator::CreateSession(
+cricket::PortAllocatorSession* HostPortAllocator::CreateSessionInternal(
const std::string& channel_name,
- int component) {
+ int component,
+ const std::string& ice_username_fragment,
+ const std::string& ice_password) {
return new HostPortAllocatorSession(
- this, channel_name, component, stun_hosts(),
- relay_hosts(), relay_token(), url_context_);
+ this, channel_name, component, ice_username_fragment, ice_password,
+ stun_hosts(), relay_hosts(), relay_token(), url_context_);
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698