| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |