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

Side by Side Diff: content/browser/renderer_host/pepper_tcp_socket.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_PEPPER_TCP_SOCKET_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SOCKET_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SOCKET_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 bool IsConnected() const; 73 bool IsConnected() const;
74 74
75 PepperMessageFilter* manager_; 75 PepperMessageFilter* manager_;
76 int32 routing_id_; 76 int32 routing_id_;
77 uint32 plugin_dispatcher_id_; 77 uint32 plugin_dispatcher_id_;
78 uint32 socket_id_; 78 uint32 socket_id_;
79 79
80 ConnectionState connection_state_; 80 ConnectionState connection_state_;
81 bool end_of_file_reached_; 81 bool end_of_file_reached_;
82 82
83 net::OldCompletionCallbackImpl<PepperTCPSocket> connect_callback_;
84 net::OldCompletionCallbackImpl<PepperTCPSocket> ssl_handshake_callback_;
85 net::OldCompletionCallbackImpl<PepperTCPSocket> read_callback_;
86 net::OldCompletionCallbackImpl<PepperTCPSocket> write_callback_;
87
88 scoped_ptr<net::SingleRequestHostResolver> resolver_; 83 scoped_ptr<net::SingleRequestHostResolver> resolver_;
89 net::AddressList address_list_; 84 net::AddressList address_list_;
90 85
91 scoped_ptr<net::StreamSocket> socket_; 86 scoped_ptr<net::StreamSocket> socket_;
92 87
93 scoped_refptr<net::IOBuffer> read_buffer_; 88 scoped_refptr<net::IOBuffer> read_buffer_;
94 scoped_refptr<net::IOBuffer> write_buffer_; 89 scoped_refptr<net::IOBuffer> write_buffer_;
95 90
96 DISALLOW_COPY_AND_ASSIGN(PepperTCPSocket); 91 DISALLOW_COPY_AND_ASSIGN(PepperTCPSocket);
97 }; 92 };
98 93
99 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SOCKET_H_ 94 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_TCP_SOCKET_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host_udp_unittest.cc ('k') | content/browser/renderer_host/pepper_tcp_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698