OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/host_port_allocator.h" | 5 #include "remoting/host/host_port_allocator.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "net/http/http_status_code.h" | 11 #include "net/http/http_status_code.h" |
12 #include "net/url_request/url_fetcher.h" | 12 #include "net/url_request/url_fetcher.h" |
13 #include "net/url_request/url_fetcher_delegate.h" | 13 #include "net/url_request/url_fetcher_delegate.h" |
14 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
15 #include "remoting/host/network_settings.h" | 15 #include "remoting/host/network_settings.h" |
16 #include "remoting/jingle_glue/chromium_socket_factory.h" | 16 #include "remoting/jingle_glue/chromium_socket_factory.h" |
17 | 17 |
18 namespace remoting { | 18 namespace remoting { |
19 | 19 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 const std::string& content_name, | 176 const std::string& content_name, |
177 int component, | 177 int component, |
178 const std::string& ice_username_fragment, | 178 const std::string& ice_username_fragment, |
179 const std::string& ice_password) { | 179 const std::string& ice_password) { |
180 return new HostPortAllocatorSession( | 180 return new HostPortAllocatorSession( |
181 this, content_name, component, ice_username_fragment, ice_password, | 181 this, content_name, component, ice_username_fragment, ice_password, |
182 stun_hosts(), relay_hosts(), relay_token(), url_context_); | 182 stun_hosts(), relay_hosts(), relay_token(), url_context_); |
183 } | 183 } |
184 | 184 |
185 } // namespace remoting | 185 } // namespace remoting |
OLD | NEW |