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

Side by Side Diff: content/public/common/p2p_sockets.h

Issue 45183002: Expose the p2p client in content/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some renaming Created 7 years, 1 month 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.
jam 2013/11/20 23:26:24 nit: this should be content/public/common/p2p_sock
hubbe 2013/11/21 22:07:30 Done.
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 // This file defines some basic types used by the P2P-related IPC 5 // This file defines some basic types used by the P2P-related IPC
6 // messages. 6 // messages.
7 7
8 #ifndef CONTENT_COMMON_P2P_SOCKETS_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_P2P_SOCKETS_H_
9 #define CONTENT_COMMON_P2P_SOCKETS_H_ 9 #define CONTENT_PUBLIC_COMMON_P2P_SOCKETS_H_
10 10
11 namespace content { 11 namespace content {
12 12
13 // Type of P2P Socket. 13 // Type of P2P Socket.
14 enum P2PSocketType { 14 enum P2PSocketType {
15 P2P_SOCKET_UDP, 15 P2P_SOCKET_UDP,
16 P2P_SOCKET_TCP_SERVER, 16 P2P_SOCKET_TCP_SERVER,
17 P2P_SOCKET_STUN_TCP_SERVER, 17 P2P_SOCKET_STUN_TCP_SERVER,
18 P2P_SOCKET_TCP_CLIENT, 18 P2P_SOCKET_TCP_CLIENT,
19 P2P_SOCKET_STUN_TCP_CLIENT, 19 P2P_SOCKET_STUN_TCP_CLIENT,
20 P2P_SOCKET_SSLTCP_CLIENT, 20 P2P_SOCKET_SSLTCP_CLIENT,
21 P2P_SOCKET_STUN_SSLTCP_CLIENT, 21 P2P_SOCKET_STUN_SSLTCP_CLIENT,
22 P2P_SOCKET_TLS_CLIENT, 22 P2P_SOCKET_TLS_CLIENT,
23 P2P_SOCKET_STUN_TLS_CLIENT, 23 P2P_SOCKET_STUN_TLS_CLIENT,
24 }; 24 };
25 25
26 } // namespace content 26 } // namespace content
27 27
28 #endif // CONTENT_COMMON_P2P_SOCKETS_H_ 28 #endif // CONTENT_PUBLIC_COMMON_P2P_SOCKETS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698