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

Side by Side Diff: net/tools/quic/quic_dispatcher_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/tools/quic/quic_dispatcher.h" 5 #include "net/tools/quic/quic_dispatcher.h"
6 6
7 #include <memory>
7 #include <ostream> 8 #include <ostream>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
12 #include "net/quic/crypto/crypto_handshake.h" 13 #include "net/quic/crypto/crypto_handshake.h"
13 #include "net/quic/crypto/quic_crypto_server_config.h" 14 #include "net/quic/crypto/quic_crypto_server_config.h"
14 #include "net/quic/crypto/quic_random.h" 15 #include "net/quic/crypto/quic_random.h"
15 #include "net/quic/quic_chromium_connection_helper.h" 16 #include "net/quic/quic_chromium_connection_helper.h"
16 #include "net/quic/quic_crypto_stream.h" 17 #include "net/quic/quic_crypto_stream.h"
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 837
837 // And we'll resume where we left off when we get another call. 838 // And we'll resume where we left off when we get another call.
838 EXPECT_CALL(*connection2(), OnCanWrite()); 839 EXPECT_CALL(*connection2(), OnCanWrite());
839 dispatcher_.OnCanWrite(); 840 dispatcher_.OnCanWrite();
840 EXPECT_FALSE(dispatcher_.HasPendingWrites()); 841 EXPECT_FALSE(dispatcher_.HasPendingWrites());
841 } 842 }
842 843
843 } // namespace 844 } // namespace
844 } // namespace test 845 } // namespace test
845 } // namespace net 846 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698