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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_udp.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_udp.h" 5 #include "content/browser/renderer_host/p2p/socket_host_udp.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.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 13
13 namespace { 14 namespace {
14 15
15 // UDP packets cannot be bigger than 64k. 16 // UDP packets cannot be bigger than 64k.
16 const int kReadBufferSize = 65536; 17 const int kReadBufferSize = 65536;
17 18
18 } // namespace 19 } // namespace
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 } 198 }
198 199
199 P2PSocketHost* P2PSocketHostUdp::AcceptIncomingTcpConnection( 200 P2PSocketHost* P2PSocketHostUdp::AcceptIncomingTcpConnection(
200 const net::IPEndPoint& remote_address, int id) { 201 const net::IPEndPoint& remote_address, int id) {
201 NOTREACHED(); 202 NOTREACHED();
202 OnError(); 203 OnError();
203 return NULL; 204 return NULL;
204 } 205 }
205 206
206 } // namespace content 207 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_udp.h ('k') | content/public/browser/resource_dispatcher_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698