| 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 "content/renderer/p2p/port_allocator.h" | 5 #include "content/renderer/p2p/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/string_number_conversions.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
| 11 #include "content/renderer/p2p/host_address_request.h" | 11 #include "content/renderer/p2p/host_address_request.h" |
| 12 #include "jingle/glue/utils.h" | 12 #include "jingle/glue/utils.h" |
| 13 #include "net/base/escape.h" | 13 #include "net/base/escape.h" |
| 14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 15 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoader.h" | 16 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
| 17 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 17 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h" | 18 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" |
| 21 | 21 |
| 22 using WebKit::WebString; | 22 using WebKit::WebString; |
| 23 using WebKit::WebURL; | 23 using WebKit::WebURL; |
| 24 using WebKit::WebURLLoader; | 24 using WebKit::WebURLLoader; |
| 25 using WebKit::WebURLLoaderOptions; | 25 using WebKit::WebURLLoaderOptions; |
| 26 using WebKit::WebURLRequest; | 26 using WebKit::WebURLRequest; |
| 27 using WebKit::WebURLResponse; | 27 using WebKit::WebURLResponse; |
| 28 | 28 |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // Using the stun resolved address if available for TURN. | 328 // Using the stun resolved address if available for TURN. |
| 329 turn_config.ports.push_back(cricket::ProtocolAddress( | 329 turn_config.ports.push_back(cricket::ProtocolAddress( |
| 330 stun_server_address_, cricket::PROTO_UDP)); | 330 stun_server_address_, cricket::PROTO_UDP)); |
| 331 config->AddRelay(turn_config); | 331 config->AddRelay(turn_config); |
| 332 } | 332 } |
| 333 } | 333 } |
| 334 ConfigReady(config); | 334 ConfigReady(config); |
| 335 } | 335 } |
| 336 | 336 |
| 337 } // namespace content | 337 } // namespace content |
| OLD | NEW |