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 <stdint.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/macros.h" |
8 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
9 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
10 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
11 #include "ppapi/cpp/url_loader.h" | 14 #include "ppapi/cpp/url_loader.h" |
12 #include "ppapi/cpp/url_request_info.h" | 15 #include "ppapi/cpp/url_request_info.h" |
13 #include "ppapi/cpp/url_response_info.h" | 16 #include "ppapi/cpp/url_response_info.h" |
14 #include "ppapi/utility/completion_callback_factory.h" | 17 #include "ppapi/utility/completion_callback_factory.h" |
15 #include "remoting/client/plugin/pepper_network_manager.h" | 18 #include "remoting/client/plugin/pepper_network_manager.h" |
16 #include "remoting/client/plugin/pepper_packet_socket_factory.h" | 19 #include "remoting/client/plugin/pepper_packet_socket_factory.h" |
17 #include "remoting/client/plugin/pepper_util.h" | 20 #include "remoting/client/plugin/pepper_util.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 : instance_(instance) {} | 247 : instance_(instance) {} |
245 | 248 |
246 PepperPortAllocatorFactory::~PepperPortAllocatorFactory() {} | 249 PepperPortAllocatorFactory::~PepperPortAllocatorFactory() {} |
247 | 250 |
248 scoped_ptr<cricket::HttpPortAllocatorBase> | 251 scoped_ptr<cricket::HttpPortAllocatorBase> |
249 PepperPortAllocatorFactory::CreatePortAllocator() { | 252 PepperPortAllocatorFactory::CreatePortAllocator() { |
250 return PepperPortAllocator::Create(instance_); | 253 return PepperPortAllocator::Create(instance_); |
251 } | 254 } |
252 | 255 |
253 } // namespace remoting | 256 } // namespace remoting |
OLD | NEW |