OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_headers_stream.h" | 5 #include "net/quic/quic_headers_stream.h" |
6 | 6 |
7 #include "net/quic/quic_session.h" | 7 #include "net/quic/quic_session.h" |
8 #include "net/quic/quic_spdy_decompressor.h" | |
9 | 8 |
10 using base::StringPiece; | 9 using base::StringPiece; |
11 | 10 |
12 namespace net { | 11 namespace net { |
13 | 12 |
14 namespace { | 13 namespace { |
15 | 14 |
16 const QuicStreamId kInvalidStreamId = 0; | 15 const QuicStreamId kInvalidStreamId = 0; |
17 | 16 |
18 } // namespace | 17 } // namespace |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 DCHECK_EQ(kInvalidStreamId, stream_id_); | 247 DCHECK_EQ(kInvalidStreamId, stream_id_); |
249 DCHECK_EQ(0u, frame_len_); | 248 DCHECK_EQ(0u, frame_len_); |
250 frame_len_ = frame_len; | 249 frame_len_ = frame_len; |
251 } | 250 } |
252 | 251 |
253 bool QuicHeadersStream::IsConnected() { | 252 bool QuicHeadersStream::IsConnected() { |
254 return session()->connection()->connected(); | 253 return session()->connection()->connected(); |
255 } | 254 } |
256 | 255 |
257 } // namespace net | 256 } // namespace net |
OLD | NEW |