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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_udp.h

Issue 8824006: Migrate net/socket/socket.h, net/socket/stream_socket.h to base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 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) 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
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_test_utils.h ('k') | content/browser/renderer_host/p2p/socket_host_udp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698