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

Side by Side Diff: net/quic/quic_connection_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 (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_connection.h" 5 #include "net/quic/quic_connection.h"
6 6
7 #include <errno.h>
7 #include <memory> 8 #include <memory>
8 #include <ostream> 9 #include <ostream>
10 #include <utility>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 #include "base/stl_util.h" 14 #include "base/stl_util.h"
13 #include "net/base/ip_address.h" 15 #include "net/base/ip_address.h"
14 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
15 #include "net/quic/congestion_control/loss_detection_interface.h" 17 #include "net/quic/congestion_control/loss_detection_interface.h"
16 #include "net/quic/congestion_control/send_algorithm_interface.h" 18 #include "net/quic/congestion_control/send_algorithm_interface.h"
17 #include "net/quic/crypto/null_encrypter.h" 19 #include "net/quic/crypto/null_encrypter.h"
18 #include "net/quic/crypto/quic_decrypter.h" 20 #include "net/quic/crypto/quic_decrypter.h"
(...skipping 4678 matching lines...) Expand 10 before | Expand all | Expand 10 after
4697 EXPECT_CALL(visitor_, OnConnectionClosed(_, _, _)).Times(1); 4699 EXPECT_CALL(visitor_, OnConnectionClosed(_, _, _)).Times(1);
4698 connection_.CloseConnection(QUIC_NO_ERROR, "no reason", 4700 connection_.CloseConnection(QUIC_NO_ERROR, "no reason",
4699 ConnectionCloseBehavior::SILENT_CLOSE); 4701 ConnectionCloseBehavior::SILENT_CLOSE);
4700 connection_.CloseConnection(QUIC_NO_ERROR, "no reason", 4702 connection_.CloseConnection(QUIC_NO_ERROR, "no reason",
4701 ConnectionCloseBehavior::SILENT_CLOSE); 4703 ConnectionCloseBehavior::SILENT_CLOSE);
4702 } 4704 }
4703 4705
4704 } // namespace 4706 } // namespace
4705 } // namespace test 4707 } // namespace test
4706 } // namespace net 4708 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698