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/core/quic_headers_stream.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "net/quic/quic_bug_tracker.h" | 13 #include "net/quic/core/quic_bug_tracker.h" |
14 #include "net/quic/quic_flags.h" | 14 #include "net/quic/core/quic_flags.h" |
15 #include "net/quic/quic_header_list.h" | 15 #include "net/quic/core/quic_header_list.h" |
16 #include "net/quic/quic_spdy_session.h" | 16 #include "net/quic/core/quic_spdy_session.h" |
17 #include "net/quic/quic_time.h" | 17 #include "net/quic/core/quic_time.h" |
18 #include "net/spdy/spdy_protocol.h" | 18 #include "net/spdy/spdy_protocol.h" |
19 | 19 |
20 using base::StringPiece; | 20 using base::StringPiece; |
21 using net::HTTP2; | 21 using net::HTTP2; |
22 using net::SpdyFrameType; | 22 using net::SpdyFrameType; |
23 using std::string; | 23 using std::string; |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 | 26 |
27 namespace { | 27 namespace { |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 return true; | 638 return true; |
639 } | 639 } |
640 frame_len_ -= len; | 640 frame_len_ -= len; |
641 // Ignore fin_ while there is more data coming, if frame_len_ > 0. | 641 // Ignore fin_ while there is more data coming, if frame_len_ > 0. |
642 spdy_session_->OnStreamFrameData(stream_id, data, len, | 642 spdy_session_->OnStreamFrameData(stream_id, data, len, |
643 frame_len_ > 0 ? false : fin_); | 643 frame_len_ > 0 ? false : fin_); |
644 return true; | 644 return true; |
645 } | 645 } |
646 | 646 |
647 } // namespace net | 647 } // namespace net |
OLD | NEW |