OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 #include "net/quic/core/quic_spdy_session.h" | 5 #include "net/quic/core/quic_spdy_session.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "net/quic/core/quic_bug_tracker.h" | 9 #include "net/quic/core/quic_bug_tracker.h" |
10 #include "net/quic/core/quic_headers_stream.h" | 10 #include "net/quic/core/quic_headers_stream.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 return; | 179 return; |
180 } | 180 } |
181 const QuicStreamOffset offset = | 181 const QuicStreamOffset offset = |
182 stream->flow_controller()->highest_received_byte_offset(); | 182 stream->flow_controller()->highest_received_byte_offset(); |
183 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len)); | 183 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len)); |
184 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id | 184 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id |
185 << " offset " << offset << " len " << len << " fin " << fin; | 185 << " offset " << offset << " len " << len << " fin " << fin; |
186 OnStreamFrame(frame); | 186 OnStreamFrame(frame); |
187 } | 187 } |
188 | 188 |
| 189 bool QuicSpdySession::ShouldReleaseHeadersStreamSequencerBuffer() { |
| 190 return false; |
| 191 } |
| 192 |
189 } // namespace net | 193 } // namespace net |
OLD | NEW |