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

Side by Side Diff: net/tools/quic/quic_simple_server_session_test.cc

Issue 1908723002: Cleanup: Migrate references from scoped_ptr to std::unique_ptr. scoped_ptr is now just an alias for… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
Patch Set: Rebase 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/tools/quic/quic_simple_server_session.h" 5 #include "net/tools/quic/quic_simple_server_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory>
8 9
9 #include "base/macros.h" 10 #include "base/macros.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "net/quic/crypto/quic_crypto_server_config.h" 12 #include "net/quic/crypto/quic_crypto_server_config.h"
12 #include "net/quic/crypto/quic_random.h" 13 #include "net/quic/crypto/quic_random.h"
13 #include "net/quic/proto/cached_network_parameters.pb.h" 14 #include "net/quic/proto/cached_network_parameters.pb.h"
14 #include "net/quic/quic_connection.h" 15 #include "net/quic/quic_connection.h"
15 #include "net/quic/quic_crypto_server_stream.h" 16 #include "net/quic/quic_crypto_server_stream.h"
16 #include "net/quic/quic_utils.h" 17 #include "net/quic/quic_utils.h"
17 #include "net/quic/test_tools/crypto_test_utils.h" 18 #include "net/quic/test_tools/crypto_test_utils.h"
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 .WillOnce(Return(QuicConsumedData(kStreamFlowControlWindowSize, false))); 565 .WillOnce(Return(QuicConsumedData(kStreamFlowControlWindowSize, false)));
565 566
566 EXPECT_CALL(*connection_, SendBlocked(stream_to_open)); 567 EXPECT_CALL(*connection_, SendBlocked(stream_to_open));
567 QuicRstStreamFrame rst(stream_got_reset, QUIC_STREAM_CANCELLED, 0); 568 QuicRstStreamFrame rst(stream_got_reset, QUIC_STREAM_CANCELLED, 0);
568 visitor_->OnRstStream(rst); 569 visitor_->OnRstStream(rst);
569 } 570 }
570 571
571 } // namespace 572 } // namespace
572 } // namespace test 573 } // namespace test
573 } // namespace net 574 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698