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/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/quic_bug_tracker.h" | 9 #include "net/quic/core/quic_bug_tracker.h" |
10 #include "net/quic/quic_headers_stream.h" | 10 #include "net/quic/core/quic_headers_stream.h" |
11 | 11 |
12 using base::StringPiece; | 12 using base::StringPiece; |
13 using std::string; | 13 using std::string; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 QuicSpdySession::QuicSpdySession(QuicConnection* connection, | 17 QuicSpdySession::QuicSpdySession(QuicConnection* connection, |
18 const QuicConfig& config) | 18 const QuicConfig& config) |
19 : QuicSession(connection, config), force_hol_blocking_(false) {} | 19 : QuicSession(connection, config), force_hol_blocking_(false) {} |
20 | 20 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 } | 175 } |
176 const QuicStreamOffset offset = | 176 const QuicStreamOffset offset = |
177 stream->flow_controller()->highest_received_byte_offset(); | 177 stream->flow_controller()->highest_received_byte_offset(); |
178 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len)); | 178 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len)); |
179 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id | 179 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id |
180 << " offset " << offset << " len " << len << " fin " << fin; | 180 << " offset " << offset << " len " << len << " fin " << fin; |
181 OnStreamFrame(frame); | 181 OnStreamFrame(frame); |
182 } | 182 } |
183 | 183 |
184 } // namespace net | 184 } // namespace net |
OLD | NEW |