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

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

Issue 1901173003: Cleanup: Migrate references from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
Patch Set: Created 4 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/quic_spdy_stream_test.cc ('k') | net/quic/reliable_quic_stream_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) 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/quic_stream_sequencer.h"
6 6
7 #include <memory>
7 #include <utility> 8 #include <utility>
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/rand_util.h" 12 #include "base/rand_util.h"
12 #include "net/base/ip_endpoint.h" 13 #include "net/base/ip_endpoint.h"
13 #include "net/quic/quic_flags.h" 14 #include "net/quic/quic_flags.h"
14 #include "net/quic/quic_utils.h" 15 #include "net/quic/quic_utils.h"
15 #include "net/quic/reliable_quic_stream.h" 16 #include "net/quic/reliable_quic_stream.h"
16 #include "net/quic/test_tools/mock_clock.h" 17 #include "net/quic/test_tools/mock_clock.h"
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 EXPECT_EQ(timestamp, t1); 654 EXPECT_EQ(timestamp, t1);
654 QuicStreamSequencerTest::ConsumeData(3); 655 QuicStreamSequencerTest::ConsumeData(3);
655 EXPECT_EQ(0u, NumBufferedBytes()); 656 EXPECT_EQ(0u, NumBufferedBytes());
656 EXPECT_EQ(6u, sequencer_->NumBytesConsumed()); 657 EXPECT_EQ(6u, sequencer_->NumBytesConsumed());
657 EXPECT_EQ(0u, sequencer_->NumBytesBuffered()); 658 EXPECT_EQ(0u, sequencer_->NumBytesBuffered());
658 } 659 }
659 660
660 } // namespace 661 } // namespace
661 } // namespace test 662 } // namespace test
662 } // namespace net 663 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_spdy_stream_test.cc ('k') | net/quic/reliable_quic_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698