| 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_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 Loading... |
| 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_ |
| OLD | NEW |