OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // User specified number of bytes to be written. | 156 // User specified number of bytes to be written. |
157 int write_buffer_len_; | 157 int write_buffer_len_; |
158 | 158 |
159 // True if the transport socket has ever sent data. | 159 // True if the transport socket has ever sent data. |
160 bool was_ever_used_; | 160 bool was_ever_used_; |
161 | 161 |
162 // Used only for redirects. | 162 // Used only for redirects. |
163 bool redirect_has_load_timing_info_; | 163 bool redirect_has_load_timing_info_; |
164 LoadTimingInfo redirect_load_timing_info_; | 164 LoadTimingInfo redirect_load_timing_info_; |
165 | 165 |
| 166 const BoundNetLog net_log_; |
| 167 |
166 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; | 168 base::WeakPtrFactory<SpdyProxyClientSocket> weak_factory_; |
167 | 169 |
168 const BoundNetLog net_log_; | |
169 | |
170 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); | 170 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); |
171 }; | 171 }; |
172 | 172 |
173 } // namespace net | 173 } // namespace net |
174 | 174 |
175 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ | 175 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ |
OLD | NEW |