Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: net/quic/core/quic_headers_stream.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_headers_stream.h ('k') | net/quic/core/quic_headers_stream_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/quic_headers_stream.h ('k') | net/quic/core/quic_headers_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698