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

Side by Side Diff: content/browser/renderer_host/p2p/socket_host_tcp.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_TCP_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void OnWritten(int result); 59 void OnWritten(int result);
60 60
61 net::IPEndPoint remote_address_; 61 net::IPEndPoint remote_address_;
62 62
63 scoped_ptr<net::StreamSocket> socket_; 63 scoped_ptr<net::StreamSocket> socket_;
64 scoped_refptr<net::GrowableIOBuffer> read_buffer_; 64 scoped_refptr<net::GrowableIOBuffer> read_buffer_;
65 scoped_refptr<net::DrainableIOBuffer> write_buffer_; 65 scoped_refptr<net::DrainableIOBuffer> write_buffer_;
66 66
67 bool connected_; 67 bool connected_;
68 68
69 net::OldCompletionCallbackImpl<P2PSocketHostTcp> connect_callback_;
70 net::OldCompletionCallbackImpl<P2PSocketHostTcp> read_callback_;
71 net::OldCompletionCallbackImpl<P2PSocketHostTcp> write_callback_;
72
73 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostTcp); 69 DISALLOW_COPY_AND_ASSIGN(P2PSocketHostTcp);
74 }; 70 };
75 71
76 } // namespace content 72 } // namespace content
77 73
78 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_ 74 #endif // CONTENT_BROWSER_RENDERER_HOST_P2P_SOCKET_HOST_TCP_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/network_stats.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