| 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 // A client specific QuicSession subclass. This class owns the underlying | 5 // A client specific QuicSession subclass. This class owns the underlying |
| 6 // QuicConnection and QuicConnectionHelper objects. The connection stores | 6 // QuicConnection and QuicConnectionHelper objects. The connection stores |
| 7 // a non-owning pointer to the helper so this session needs to ensure that | 7 // a non-owning pointer to the helper so this session needs to ensure that |
| 8 // the helper outlives the connection. | 8 // the helper outlives the connection. |
| 9 | 9 |
| 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ | 10 #ifndef NET_QUIC_QUIC_CLIENT_SESSION_H_ |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 // Posts a task to notify the factory that this session has been closed. | 216 // Posts a task to notify the factory that this session has been closed. |
| 217 void NotifyFactoryOfSessionClosedLater(); | 217 void NotifyFactoryOfSessionClosedLater(); |
| 218 | 218 |
| 219 // Notifies the factory that this session has been closed which will | 219 // Notifies the factory that this session has been closed which will |
| 220 // delete |this|. | 220 // delete |this|. |
| 221 void NotifyFactoryOfSessionClosed(); | 221 void NotifyFactoryOfSessionClosed(); |
| 222 | 222 |
| 223 void OnConnectTimeout(); | 223 void OnConnectTimeout(); |
| 224 | 224 |
| 225 scoped_ptr<HostPortPair> server_host_port_; | 225 HostPortPair server_host_port_; |
| 226 bool require_confirmation_; | 226 bool require_confirmation_; |
| 227 scoped_ptr<QuicCryptoClientStream> crypto_stream_; | 227 scoped_ptr<QuicCryptoClientStream> crypto_stream_; |
| 228 QuicStreamFactory* stream_factory_; | 228 QuicStreamFactory* stream_factory_; |
| 229 scoped_ptr<DatagramClientSocket> socket_; | 229 scoped_ptr<DatagramClientSocket> socket_; |
| 230 scoped_refptr<IOBufferWithSize> read_buffer_; | 230 scoped_refptr<IOBufferWithSize> read_buffer_; |
| 231 TransportSecurityState* transport_security_state_; | 231 TransportSecurityState* transport_security_state_; |
| 232 scoped_ptr<QuicServerInfo> server_info_; | 232 scoped_ptr<QuicServerInfo> server_info_; |
| 233 scoped_ptr<CertVerifyResult> cert_verify_result_; | 233 scoped_ptr<CertVerifyResult> cert_verify_result_; |
| 234 std::string pinning_failure_log_; | 234 std::string pinning_failure_log_; |
| 235 ObserverSet observers_; | 235 ObserverSet observers_; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 247 // on this session. Existing stream will continue to be processed. | 247 // on this session. Existing stream will continue to be processed. |
| 248 bool going_away_; | 248 bool going_away_; |
| 249 base::WeakPtrFactory<QuicClientSession> weak_factory_; | 249 base::WeakPtrFactory<QuicClientSession> weak_factory_; |
| 250 | 250 |
| 251 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); | 251 DISALLOW_COPY_AND_ASSIGN(QuicClientSession); |
| 252 }; | 252 }; |
| 253 | 253 |
| 254 } // namespace net | 254 } // namespace net |
| 255 | 255 |
| 256 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ | 256 #endif // NET_QUIC_QUIC_CLIENT_SESSION_H_ |
| OLD | NEW |