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/client/plugin/pepper_port_allocator.h" | 5 #include "remoting/client/plugin/pepper_port_allocator.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "net/base/net_util.h" | 9 #include "net/base/net_util.h" |
10 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
11 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
12 #include "ppapi/cpp/private/host_resolver_private.h" | 12 #include "ppapi/cpp/private/host_resolver_private.h" |
13 #include "ppapi/cpp/url_loader.h" | 13 #include "ppapi/cpp/url_loader.h" |
14 #include "ppapi/cpp/url_request_info.h" | 14 #include "ppapi/cpp/url_request_info.h" |
15 #include "ppapi/cpp/url_response_info.h" | 15 #include "ppapi/cpp/url_response_info.h" |
16 #include "remoting/client/plugin/pepper_network_manager.h" | 16 #include "remoting/client/plugin/pepper_network_manager.h" |
17 #include "remoting/client/plugin/pepper_packet_socket_factory.h" | 17 #include "remoting/client/plugin/pepper_packet_socket_factory.h" |
18 #include "remoting/client/plugin/pepper_util.h" | 18 #include "remoting/client/plugin/pepper_util.h" |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 const std::string& content_name, | 332 const std::string& content_name, |
333 int component, | 333 int component, |
334 const std::string& ice_username_fragment, | 334 const std::string& ice_username_fragment, |
335 const std::string& ice_password) { | 335 const std::string& ice_password) { |
336 return new PepperPortAllocatorSession( | 336 return new PepperPortAllocatorSession( |
337 this, content_name, component, ice_username_fragment, ice_password, | 337 this, content_name, component, ice_username_fragment, ice_password, |
338 stun_hosts(), relay_hosts(), relay_token(), instance_); | 338 stun_hosts(), relay_hosts(), relay_token(), instance_); |
339 } | 339 } |
340 | 340 |
341 } // namespace remoting | 341 } // namespace remoting |
OLD | NEW |