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 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 net::IPEndPoint recv_address_; | 62 net::IPEndPoint recv_address_; |
63 | 63 |
64 std::deque<PendingPacket> send_queue_; | 64 std::deque<PendingPacket> send_queue_; |
65 int send_queue_bytes_; | 65 int send_queue_bytes_; |
66 bool send_pending_; | 66 bool send_pending_; |
67 | 67 |
68 // Set of peer for which we have received STUN binding request or | 68 // Set of peer for which we have received STUN binding request or |
69 // response or relay allocation request or response. | 69 // response or relay allocation request or response. |
70 ConnectedPeerSet connected_peers_; | 70 ConnectedPeerSet connected_peers_; |
71 | 71 |
72 net::OldCompletionCallbackImpl<P2PSocketHostUdp> recv_callback_; | |
73 net::OldCompletionCallbackImpl<P2PSocketHostUdp> send_callback_; | |
74 | |
75 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp); | 72 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostUdp); |
76 }; | 73 }; |
77 | 74 |
78 } // namespace content | 75 } // namespace content |
79 | 76 |
80 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ | 77 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_UDP_H_ |
OLD | NEW |