OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ |
6 #define NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ | 6 #define NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
10 #include "net/quic/crypto/quic_crypto_server_config.h" | 10 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
11 #include "net/quic/quic_config.h" | 11 #include "net/quic/core/quic_config.h" |
12 #include "net/quic/quic_protocol.h" | 12 #include "net/quic/core/quic_protocol.h" |
13 #include "net/tools/quic/quic_dispatcher.h" | 13 #include "net/tools/quic/quic_dispatcher.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 class MockQuicDispatcher : public QuicDispatcher { | 19 class MockQuicDispatcher : public QuicDispatcher { |
20 public: | 20 public: |
21 MockQuicDispatcher( | 21 MockQuicDispatcher( |
22 const QuicConfig& config, | 22 const QuicConfig& config, |
(...skipping 10 matching lines...) Expand all Loading... |
33 const QuicReceivedPacket& packet)); | 33 const QuicReceivedPacket& packet)); |
34 | 34 |
35 private: | 35 private: |
36 DISALLOW_COPY_AND_ASSIGN(MockQuicDispatcher); | 36 DISALLOW_COPY_AND_ASSIGN(MockQuicDispatcher); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace test | 39 } // namespace test |
40 } // namespace net | 40 } // namespace net |
41 | 41 |
42 #endif // NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ | 42 #endif // NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_ |
OLD | NEW |