OLD | NEW |
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 Loading... |
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 |
OLD | NEW |