Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: content/renderer/p2p/port_allocator.cc

Issue 10454058: Remove PPB_Transport_Dev API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_split.h" 9 #include "base/string_split.h"
10 #include "base/string_util.h" 10 #include "base/string_util.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 "ppapi/c/dev/ppb_transport_dev.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError. h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError. h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader .h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader .h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h " 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h "
20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon se.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon se.h"
22 21
23 using WebKit::WebString; 22 using WebKit::WebString;
24 using WebKit::WebURL; 23 using WebKit::WebURL;
25 using WebKit::WebURLLoader; 24 using WebKit::WebURLLoader;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 talk_base::SocketAddress address(relay_ip_.ip(), relay_ssltcp_port_); 309 talk_base::SocketAddress address(relay_ip_.ip(), relay_ssltcp_port_);
311 ports.push_back(cricket::ProtocolAddress(address, cricket::PROTO_SSLTCP)); 310 ports.push_back(cricket::ProtocolAddress(address, cricket::PROTO_SSLTCP));
312 } 311 }
313 if (!ports.empty()) 312 if (!ports.empty())
314 config->AddRelay(ports, 0.0f); 313 config->AddRelay(ports, 0.0f);
315 } 314 }
316 ConfigReady(config); 315 ConfigReady(config);
317 } 316 }
318 317
319 } // namespace content 318 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698