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 QuicSession, which demuxes a single connection to individual streams. | 5 // A QuicSession, which demuxes a single connection to individual streams. |
6 | 6 |
7 #ifndef NET_QUIC_QUIC_SESSION_H_ | 7 #ifndef NET_QUIC_QUIC_SESSION_H_ |
8 #define NET_QUIC_QUIC_SESSION_H_ | 8 #define NET_QUIC_QUIC_SESSION_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 QuicWriteBlockedList write_blocked_streams_; | 329 QuicWriteBlockedList write_blocked_streams_; |
330 | 330 |
331 QuicStreamId largest_peer_created_stream_id_; | 331 QuicStreamId largest_peer_created_stream_id_; |
332 | 332 |
333 // The latched error with which the connection was closed. | 333 // The latched error with which the connection was closed. |
334 QuicErrorCode error_; | 334 QuicErrorCode error_; |
335 | 335 |
336 // Used for connection-level flow control. | 336 // Used for connection-level flow control. |
337 QuicFlowController flow_controller_; | 337 QuicFlowController flow_controller_; |
338 | 338 |
339 // Indicate if there is pending data for the crypto stream. | |
340 bool has_pending_handshake_; | |
341 | |
342 DISALLOW_COPY_AND_ASSIGN(QuicSession); | 339 DISALLOW_COPY_AND_ASSIGN(QuicSession); |
343 }; | 340 }; |
344 | 341 |
345 } // namespace net | 342 } // namespace net |
346 | 343 |
347 #endif // NET_QUIC_QUIC_SESSION_H_ | 344 #endif // NET_QUIC_QUIC_SESSION_H_ |
OLD | NEW |