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_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ |
6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ | 6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "net/quic/core/quic_protocol.h" | 11 #include "net/quic/core/quic_packets.h" |
12 #include "net/quic/test_tools/simulator/actor.h" | 12 #include "net/quic/test_tools/simulator/actor.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 namespace simulator { | 15 namespace simulator { |
16 | 16 |
17 struct Packet { | 17 struct Packet { |
18 Packet(); | 18 Packet(); |
19 ~Packet(); | 19 ~Packet(); |
20 Packet(const Packet& packet); | 20 Packet(const Packet& packet); |
21 | 21 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 virtual void SetTxPort(ConstrainedPortInterface* port) = 0; | 57 virtual void SetTxPort(ConstrainedPortInterface* port) = 0; |
58 | 58 |
59 protected: | 59 protected: |
60 Endpoint(Simulator* simulator, std::string name); | 60 Endpoint(Simulator* simulator, std::string name); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace simulator | 63 } // namespace simulator |
64 } // namespace net | 64 } // namespace net |
65 | 65 |
66 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ | 66 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_PORT_H_ |
OLD | NEW |