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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_tcp.cc

Issue 11574040: Get rid of ipc_sender.h include in ipc_message.h. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: asdf Created 8 years 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
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/browser/renderer_host/p2p/socket_host_tcp.h" 5 #include "content/browser/renderer_host/p2p/socket_host_tcp.h"
6 6
7 #include "base/sys_byteorder.h" 7 #include "base/sys_byteorder.h"
8 #include "content/common/p2p_messages.h" 8 #include "content/common/p2p_messages.h"
9 #include "ipc/ipc_sender.h"
9 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
10 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
11 #include "net/base/net_util.h" 12 #include "net/base/net_util.h"
12 #include "net/socket/tcp_client_socket.h" 13 #include "net/socket/tcp_client_socket.h"
13 14
14 namespace { 15 namespace {
15 const int kReadBufferSize = 4096; 16 const int kReadBufferSize = 4096;
16 const int kPacketHeaderSize = sizeof(uint16); 17 const int kPacketHeaderSize = sizeof(uint16);
17 } // namespace 18 } // namespace
18 19
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 } 272 }
272 273
273 P2PSocketHost* P2PSocketHostTcp::AcceptIncomingTcpConnection( 274 P2PSocketHost* P2PSocketHostTcp::AcceptIncomingTcpConnection(
274 const net::IPEndPoint& remote_address, int id) { 275 const net::IPEndPoint& remote_address, int id) {
275 NOTREACHED(); 276 NOTREACHED();
276 OnError(); 277 OnError();
277 return NULL; 278 return NULL;
278 } 279 }
279 280
280 } // namespace content 281 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.h ('k') | content/browser/renderer_host/p2p/socket_host_udp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698