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

Side by Side Diff: net/quic/stream_sequencer_buffer.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/stream_sequencer_buffer.h ('k') | net/quic/stream_sequencer_buffer_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 (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/stream_sequencer_buffer.h" 5 #include "net/quic/stream_sequencer_buffer.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 8
10 using std::min; 9 using std::min;
11 10
12 namespace net { 11 namespace net {
13 12
14 StreamSequencerBuffer::Gap::Gap(QuicStreamOffset begin_offset, 13 StreamSequencerBuffer::Gap::Gap(QuicStreamOffset begin_offset,
15 QuicStreamOffset end_offset) 14 QuicStreamOffset end_offset)
16 : begin_offset(begin_offset), end_offset(end_offset) {} 15 : begin_offset(begin_offset), end_offset(end_offset) {}
17 16
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 offset, FrameInfo(erased.first + erased.second.length - offset, 443 offset, FrameInfo(erased.first + erased.second.length - offset,
445 erased.second.timestamp)); 444 erased.second.timestamp));
446 DVLOG(1) << "Inserted FrameInfo with offset: " << updated.first 445 DVLOG(1) << "Inserted FrameInfo with offset: " << updated.first
447 << " and length: " << updated.second.length; 446 << " and length: " << updated.second.length;
448 frame_arrival_time_map_.insert(updated); 447 frame_arrival_time_map_.insert(updated);
449 } 448 }
450 } 449 }
451 } 450 }
452 451
453 } // namespace net 452 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/stream_sequencer_buffer.h ('k') | net/quic/stream_sequencer_buffer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698