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

Side by Side Diff: net/quic/test_tools/quic_stream_sequencer_buffer_peer.cc

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/test_tools/quic_session_peer.cc ('k') | net/quic/test_tools/quic_test_utils.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/test_tools/quic_stream_sequencer_buffer_peer.h" 5 #include "net/quic/test_tools/quic_stream_sequencer_buffer_peer.h"
6 6
7 #include "net/quic/core/quic_flags.h" 7 #include "net/quic/platform/api/quic_flags.h"
8 #include "net/quic/platform/api/quic_logging.h" 8 #include "net/quic/platform/api/quic_logging.h"
9 #include "net/test/gtest_util.h" 9 #include "net/test/gtest_util.h"
10 10
11 typedef net::QuicStreamSequencerBuffer::BufferBlock BufferBlock; 11 typedef net::QuicStreamSequencerBuffer::BufferBlock BufferBlock;
12 typedef net::QuicStreamSequencerBuffer::FrameInfo FrameInfo; 12 typedef net::QuicStreamSequencerBuffer::FrameInfo FrameInfo;
13 typedef net::QuicStreamSequencerBuffer::Gap Gap; 13 typedef net::QuicStreamSequencerBuffer::Gap Gap;
14 14
15 static const size_t kBlockSizeBytes = 15 static const size_t kBlockSizeBytes =
16 net::QuicStreamSequencerBuffer::kBlockSizeBytes; 16 net::QuicStreamSequencerBuffer::kBlockSizeBytes;
17 17
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void QuicStreamSequencerBufferPeer::set_gaps(const std::list<Gap>& gaps) { 133 void QuicStreamSequencerBufferPeer::set_gaps(const std::list<Gap>& gaps) {
134 buffer_->gaps_ = gaps; 134 buffer_->gaps_ = gaps;
135 } 135 }
136 136
137 bool QuicStreamSequencerBufferPeer::IsBufferAllocated() { 137 bool QuicStreamSequencerBufferPeer::IsBufferAllocated() {
138 return buffer_->blocks_ != nullptr; 138 return buffer_->blocks_ != nullptr;
139 } 139 }
140 140
141 } // namespace test 141 } // namespace test
142 } // namespace net 142 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_session_peer.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698