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

Side by Side Diff: net/quic/core/quic_stream_sequencer_buffer.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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_buffer.h" 5 #include "net/quic/core/quic_stream_sequencer_buffer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "net/quic/quic_bug_tracker.h" 9 #include "net/quic/core/quic_bug_tracker.h"
10 10
11 using std::min; 11 using std::min;
12 using std::string; 12 using std::string;
13 13
14 namespace net { 14 namespace net {
15 15
16 namespace { 16 namespace {
17 17
18 string RangeDebugString(QuicStreamOffset start, QuicStreamOffset end) { 18 string RangeDebugString(QuicStreamOffset start, QuicStreamOffset end) {
19 return string("[") + base::Uint64ToString(start) + ", " + 19 return string("[") + base::Uint64ToString(start) + ", " +
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 QuicStreamOffset current_frame_begin_offset = it.first; 496 QuicStreamOffset current_frame_begin_offset = it.first;
497 QuicStreamOffset current_frame_end_offset = 497 QuicStreamOffset current_frame_end_offset =
498 it.second.length + current_frame_begin_offset; 498 it.second.length + current_frame_begin_offset;
499 current_frames_string += 499 current_frames_string +=
500 RangeDebugString(current_frame_begin_offset, current_frame_end_offset); 500 RangeDebugString(current_frame_begin_offset, current_frame_end_offset);
501 } 501 }
502 return current_frames_string; 502 return current_frames_string;
503 } 503 }
504 504
505 } // namespace net 505 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_stream_sequencer_buffer.h ('k') | net/quic/core/quic_stream_sequencer_buffer_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698