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

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

Issue 6673090: Move core renderer subdirectories to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/renderer/p2p/ipc_socket_factory.h ('k') | content/renderer/p2p/socket_client.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/renderer/p2p/ipc_socket_factory.h" 5 #include "content/renderer/p2p/ipc_socket_factory.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "chrome/renderer/p2p/socket_client.h" 9 #include "content/renderer/p2p/socket_client.h"
10 #include "chrome/renderer/p2p/socket_dispatcher.h" 10 #include "content/renderer/p2p/socket_dispatcher.h"
11 #include "third_party/libjingle/source/talk/base/asyncpacketsocket.h" 11 #include "third_party/libjingle/source/talk/base/asyncpacketsocket.h"
12 12
13 namespace { 13 namespace {
14 14
15 const size_t kIPv4AddressSize = 4; 15 const size_t kIPv4AddressSize = 4;
16 16
17 // Chromium and libjingle represent socket addresses differently. The 17 // Chromium and libjingle represent socket addresses differently. The
18 // following two functions are used to convert addresses from one 18 // following two functions are used to convert addresses from one
19 // representation to another. 19 // representation to another.
20 bool ChromeToLibjingleSocketAddress(const net::IPEndPoint& address_chrome, 20 bool ChromeToLibjingleSocketAddress(const net::IPEndPoint& address_chrome,
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 314
315 talk_base::AsyncPacketSocket* IpcPacketSocketFactory::CreateClientTcpSocket( 315 talk_base::AsyncPacketSocket* IpcPacketSocketFactory::CreateClientTcpSocket(
316 const talk_base::SocketAddress& local_address, 316 const talk_base::SocketAddress& local_address,
317 const talk_base::SocketAddress& remote_address, 317 const talk_base::SocketAddress& remote_address,
318 const talk_base::ProxyInfo& proxy_info, 318 const talk_base::ProxyInfo& proxy_info,
319 const std::string& user_agent, bool ssl) { 319 const std::string& user_agent, bool ssl) {
320 // TODO(sergeyu): Implement this; 320 // TODO(sergeyu): Implement this;
321 NOTIMPLEMENTED(); 321 NOTIMPLEMENTED();
322 return NULL; 322 return NULL;
323 } 323 }
OLDNEW
« no previous file with comments | « content/renderer/p2p/ipc_socket_factory.h ('k') | content/renderer/p2p/socket_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698