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

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

Issue 8949026: Move net/base/sys_byteorder.h to base/sys_byteorder.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Denitting, rebase Created 8 years, 11 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
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 "content/browser/renderer_host/p2p/socket_host.h" 5 #include "content/browser/renderer_host/p2p/socket_host.h"
6 6
7 #include "net/base/sys_byteorder.h" 7 #include "base/sys_byteorder.h"
8 #include "content/browser/renderer_host/p2p/socket_host_tcp.h" 8 #include "content/browser/renderer_host/p2p/socket_host_tcp.h"
9 #include "content/browser/renderer_host/p2p/socket_host_tcp_server.h" 9 #include "content/browser/renderer_host/p2p/socket_host_tcp_server.h"
10 #include "content/browser/renderer_host/p2p/socket_host_udp.h" 10 #include "content/browser/renderer_host/p2p/socket_host_udp.h"
11 11
12 namespace { 12 namespace {
13 const int kStunHeaderSize = 20; 13 const int kStunHeaderSize = 20;
14 const uint32 kStunMagicCookie = 0x2112A442; 14 const uint32 kStunMagicCookie = 0x2112A442;
15 } // namespace 15 } // namespace
16 16
17 namespace content { 17 namespace content {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 case P2P_SOCKET_TCP_CLIENT: 87 case P2P_SOCKET_TCP_CLIENT:
88 return new P2PSocketHostTcp(message_sender, routing_id, id); 88 return new P2PSocketHostTcp(message_sender, routing_id, id);
89 } 89 }
90 90
91 NOTREACHED(); 91 NOTREACHED();
92 return NULL; 92 return NULL;
93 } 93 }
94 94
95 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/sync/util/nigori.cc ('k') | content/browser/renderer_host/p2p/socket_host_tcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698