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

Side by Side Diff: net/quic/test_tools/quic_test_utils.h

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/reliable_quic_stream_test.cc ('k') | net/tools/quic/end_to_end_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 // Common utilities for Quic tests 5 // Common utilities for Quic tests
6 6
7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include <memory>
13 #include <string> 14 #include <string>
14 #include <vector> 15 #include <vector>
15 16
16 #include "base/macros.h" 17 #include "base/macros.h"
17 #include "base/strings/string_piece.h" 18 #include "base/strings/string_piece.h"
18 #include "net/base/ip_address.h" 19 #include "net/base/ip_address.h"
19 #include "net/quic/congestion_control/loss_detection_interface.h" 20 #include "net/quic/congestion_control/loss_detection_interface.h"
20 #include "net/quic/congestion_control/send_algorithm_interface.h" 21 #include "net/quic/congestion_control/send_algorithm_interface.h"
21 #include "net/quic/quic_client_push_promise_index.h" 22 #include "net/quic/quic_client_push_promise_index.h"
22 #include "net/quic/quic_connection.h" 23 #include "net/quic/quic_connection.h"
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 TestQuicSpdyServerSession** server_session); 846 TestQuicSpdyServerSession** server_session);
846 847
847 // Helper to generate client side stream ids, generalizes 848 // Helper to generate client side stream ids, generalizes
848 // kClientDataStreamId1 etc. above. 849 // kClientDataStreamId1 etc. above.
849 QuicStreamId QuicClientDataStreamId(int i); 850 QuicStreamId QuicClientDataStreamId(int i);
850 851
851 } // namespace test 852 } // namespace test
852 } // namespace net 853 } // namespace net
853 854
854 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 855 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream_test.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698