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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ |
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 | 27 |
28 class ProofVerifier; | 28 class ProofVerifier; |
29 | 29 |
30 class ProofVerifier; | 30 class ProofVerifier; |
31 class QuicPacketWriterWrapper; | 31 class QuicPacketWriterWrapper; |
32 | 32 |
33 namespace test { | 33 namespace test { |
34 | 34 |
35 class HTTPMessage; | |
36 class MockableQuicClient; | 35 class MockableQuicClient; |
37 | 36 |
38 // A quic client which allows mocking out reads and writes. | 37 // A quic client which allows mocking out reads and writes. |
39 class MockableQuicClient : public QuicClient { | 38 class MockableQuicClient : public QuicClient { |
40 public: | 39 public: |
41 MockableQuicClient(QuicSocketAddress server_address, | 40 MockableQuicClient(QuicSocketAddress server_address, |
42 const QuicServerId& server_id, | 41 const QuicServerId& server_id, |
43 const QuicVersionVector& supported_versions, | 42 const QuicVersionVector& supported_versions, |
44 EpollServer* epoll_server); | 43 EpollServer* epoll_server); |
45 | 44 |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 std::string override_sni_; | 346 std::string override_sni_; |
348 | 347 |
349 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); | 348 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); |
350 }; | 349 }; |
351 | 350 |
352 } // namespace test | 351 } // namespace test |
353 | 352 |
354 } // namespace net | 353 } // namespace net |
355 | 354 |
356 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ | 355 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ |
OLD | NEW |