| OLD | NEW |
| 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 // 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_COMMON_P2P_SOCKETS_H_ |
| 9 #define CONTENT_COMMON_P2P_SOCKETS_H_ | 9 #define CONTENT_COMMON_P2P_SOCKETS_H_ |
| 10 | 10 |
| 11 namespace content { |
| 12 |
| 11 // Type of P2P Socket. | 13 // Type of P2P Socket. |
| 12 enum P2PSocketType { | 14 enum P2PSocketType { |
| 13 P2P_SOCKET_UDP, | 15 P2P_SOCKET_UDP, |
| 14 P2P_SOCKET_TCP_SERVER, | 16 P2P_SOCKET_TCP_SERVER, |
| 15 P2P_SOCKET_TCP_CLIENT, | 17 P2P_SOCKET_TCP_CLIENT, |
| 16 }; | 18 }; |
| 17 | 19 |
| 20 } // namespace content |
| 21 |
| 18 #endif // CONTENT_COMMON_P2P_SOCKETS_H_ | 22 #endif // CONTENT_COMMON_P2P_SOCKETS_H_ |
| OLD | NEW |