summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_port_allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/host_port_allocator.cc')
-rw-r--r--remoting/host/host_port_allocator.cc22
1 files changed, 14 insertions, 8 deletions
diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc
index ba53322..cf8a84c 100644
--- a/remoting/host/host_port_allocator.cc
+++ b/remoting/host/host_port_allocator.cc
@@ -59,11 +59,16 @@ HostPortAllocatorSession::HostPortAllocatorSession(
const std::vector<std::string>& relay_hosts,
const std::string& relay,
const scoped_refptr<net::URLRequestContextGetter>& url_context)
- : HttpPortAllocatorSessionBase(
- allocator, content_name, component, ice_username_fragment, ice_password,
- stun_hosts, relay_hosts, relay, ""),
- url_context_(url_context) {
-}
+ : HttpPortAllocatorSessionBase(allocator,
+ content_name,
+ component,
+ ice_username_fragment,
+ ice_password,
+ stun_hosts,
+ relay_hosts,
+ relay,
+ std::string()),
+ url_context_(url_context) {}
HostPortAllocatorSession::~HostPortAllocatorSession() {
STLDeleteElements(&url_fetchers_);
@@ -157,11 +162,12 @@ HostPortAllocator::HostPortAllocator(
const scoped_refptr<net::URLRequestContextGetter>& url_context,
scoped_ptr<talk_base::NetworkManager> network_manager,
scoped_ptr<talk_base::PacketSocketFactory> socket_factory)
- : HttpPortAllocatorBase(network_manager.get(), socket_factory.get(), ""),
+ : HttpPortAllocatorBase(network_manager.get(),
+ socket_factory.get(),
+ std::string()),
url_context_(url_context),
network_manager_(network_manager.Pass()),
- socket_factory_(socket_factory.Pass()) {
-}
+ socket_factory_(socket_factory.Pass()) {}
HostPortAllocator::~HostPortAllocator() {
}