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

Side by Side Diff: net/quic/core/quic_stream_sequencer.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_stream_sequencer.h ('k') | net/quic/core/quic_stream_sequencer_buffer.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_stream_sequencer.h" 5 #include "net/quic/core/quic_stream_sequencer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "net/quic/quic_bug_tracker.h" 14 #include "net/quic/core/quic_bug_tracker.h"
15 #include "net/quic/quic_clock.h" 15 #include "net/quic/core/quic_clock.h"
16 #include "net/quic/quic_flags.h" 16 #include "net/quic/core/quic_flags.h"
17 #include "net/quic/quic_protocol.h" 17 #include "net/quic/core/quic_protocol.h"
18 #include "net/quic/quic_stream_sequencer_buffer.h" 18 #include "net/quic/core/quic_stream_sequencer_buffer.h"
19 #include "net/quic/quic_utils.h" 19 #include "net/quic/core/quic_utils.h"
20 #include "net/quic/reliable_quic_stream.h" 20 #include "net/quic/core/reliable_quic_stream.h"
21 21
22 using base::IntToString; 22 using base::IntToString;
23 using base::StringPiece; 23 using base::StringPiece;
24 using std::min; 24 using std::min;
25 using std::numeric_limits; 25 using std::numeric_limits;
26 using std::string; 26 using std::string;
27 27
28 namespace net { 28 namespace net {
29 29
30 QuicStreamSequencer::QuicStreamSequencer(ReliableQuicStream* quic_stream, 30 QuicStreamSequencer::QuicStreamSequencer(ReliableQuicStream* quic_stream,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 "\n bytes buffered: " + IntToString(NumBytesBuffered()) + 209 "\n bytes buffered: " + IntToString(NumBytesBuffered()) +
210 "\n bytes consumed: " + IntToString( NumBytesConsumed()) + 210 "\n bytes consumed: " + IntToString( NumBytesConsumed()) +
211 "\n has bytes to read: " + (HasBytesToRead() ? "true" : "false") + 211 "\n has bytes to read: " + (HasBytesToRead() ? "true" : "false") +
212 "\n frames received: " + IntToString(num_frames_received()) + 212 "\n frames received: " + IntToString(num_frames_received()) +
213 "\n close offset bytes: " + IntToString( close_offset_) + 213 "\n close offset bytes: " + IntToString( close_offset_) +
214 "\n is closed: " + (IsClosed() ? "true" : "false"); 214 "\n is closed: " + (IsClosed() ? "true" : "false");
215 // clang-format on 215 // clang-format on
216 } 216 }
217 217
218 } // namespace net 218 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_stream_sequencer.h ('k') | net/quic/core/quic_stream_sequencer_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698