| 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 NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 5 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 scoped_refptr<AuthChallengeInfo> auth_info_; | 293 scoped_refptr<AuthChallengeInfo> auth_info_; |
| 294 | 294 |
| 295 scoped_refptr<RequestHeaders> tunnel_request_headers_; | 295 scoped_refptr<RequestHeaders> tunnel_request_headers_; |
| 296 size_t tunnel_request_headers_bytes_sent_; | 296 size_t tunnel_request_headers_bytes_sent_; |
| 297 scoped_refptr<ResponseHeaders> tunnel_response_headers_; | 297 scoped_refptr<ResponseHeaders> tunnel_response_headers_; |
| 298 int tunnel_response_headers_capacity_; | 298 int tunnel_response_headers_capacity_; |
| 299 int tunnel_response_headers_len_; | 299 int tunnel_response_headers_len_; |
| 300 | 300 |
| 301 scoped_ptr<SingleRequestHostResolver> resolver_; | 301 scoped_ptr<SingleRequestHostResolver> resolver_; |
| 302 AddressList addresses_; | 302 AddressList addresses_; |
| 303 scoped_ptr<ClientSocket> socket_; | 303 scoped_ptr<StreamSocket> socket_; |
| 304 | 304 |
| 305 SSLConfig ssl_config_; | 305 SSLConfig ssl_config_; |
| 306 | 306 |
| 307 CompletionCallbackImpl<SocketStream> io_callback_; | 307 CompletionCallbackImpl<SocketStream> io_callback_; |
| 308 CompletionCallbackImpl<SocketStream> read_callback_; | 308 CompletionCallbackImpl<SocketStream> read_callback_; |
| 309 CompletionCallbackImpl<SocketStream> write_callback_; | 309 CompletionCallbackImpl<SocketStream> write_callback_; |
| 310 | 310 |
| 311 scoped_refptr<IOBuffer> read_buf_; | 311 scoped_refptr<IOBuffer> read_buf_; |
| 312 int read_buf_size_; | 312 int read_buf_size_; |
| 313 | 313 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 327 bool server_closed_; | 327 bool server_closed_; |
| 328 | 328 |
| 329 scoped_ptr<SocketStreamMetrics> metrics_; | 329 scoped_ptr<SocketStreamMetrics> metrics_; |
| 330 | 330 |
| 331 DISALLOW_COPY_AND_ASSIGN(SocketStream); | 331 DISALLOW_COPY_AND_ASSIGN(SocketStream); |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 } // namespace net | 334 } // namespace net |
| 335 | 335 |
| 336 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ | 336 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_H_ |
| OLD | NEW |