| 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 <string> |
| 8 |
| 7 #include "net/quic/quic_session.h" | 9 #include "net/quic/quic_session.h" |
| 8 | 10 |
| 9 using base::StringPiece; | 11 using base::StringPiece; |
| 12 using std::string; |
| 10 | 13 |
| 11 namespace net { | 14 namespace net { |
| 12 | 15 |
| 13 namespace { | 16 namespace { |
| 14 | 17 |
| 15 const QuicStreamId kInvalidStreamId = 0; | 18 const QuicStreamId kInvalidStreamId = 0; |
| 16 | 19 |
| 17 } // namespace | 20 } // namespace |
| 18 | 21 |
| 19 // A SpdyFramer visitor which passed SYN_STREAM and SYN_REPLY frames to | 22 // A SpdyFramer visitor which passed SYN_STREAM and SYN_REPLY frames to |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 DCHECK_EQ(kInvalidStreamId, stream_id_); | 272 DCHECK_EQ(kInvalidStreamId, stream_id_); |
| 270 DCHECK_EQ(0u, frame_len_); | 273 DCHECK_EQ(0u, frame_len_); |
| 271 frame_len_ = frame_len; | 274 frame_len_ = frame_len; |
| 272 } | 275 } |
| 273 | 276 |
| 274 bool QuicHeadersStream::IsConnected() { | 277 bool QuicHeadersStream::IsConnected() { |
| 275 return session()->connection()->connected(); | 278 return session()->connection()->connected(); |
| 276 } | 279 } |
| 277 | 280 |
| 278 } // namespace net | 281 } // namespace net |
| OLD | NEW |