| 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_QUIC_QUIC_STREAM_SEQUENCER_H_ | 5 #ifndef NET_QUIC_QUIC_STREAM_SEQUENCER_H_ |
| 6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_H_ | 6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 bool blocked_; | 118 bool blocked_; |
| 119 | 119 |
| 120 // Tracks how many bytes the sequencer has buffered. | 120 // Tracks how many bytes the sequencer has buffered. |
| 121 size_t num_bytes_buffered_; | 121 size_t num_bytes_buffered_; |
| 122 | 122 |
| 123 // Count of the number of frames received. | 123 // Count of the number of frames received. |
| 124 int num_frames_received_; | 124 int num_frames_received_; |
| 125 | 125 |
| 126 // Count of the number of duplicate frames received. | 126 // Count of the number of duplicate frames received. |
| 127 int num_duplicate_frames_received_; | 127 int num_duplicate_frames_received_; |
| 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencer); |
| 128 }; | 130 }; |
| 129 | 131 |
| 130 } // namespace net | 132 } // namespace net |
| 131 | 133 |
| 132 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_H_ | 134 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_H_ |
| OLD | NEW |