| 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_ACTOR_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ | 6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "net/quic/core/quic_clock.h" | |
| 11 #include "net/quic/core/quic_time.h" | 10 #include "net/quic/core/quic_time.h" |
| 11 #include "net/quic/platform/api/quic_clock.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 namespace simulator { | 14 namespace simulator { |
| 15 | 15 |
| 16 class Simulator; | 16 class Simulator; |
| 17 | 17 |
| 18 // Actor is the base class for all participants of the simulation which can | 18 // Actor is the base class for all participants of the simulation which can |
| 19 // schedule events to be triggered at the specified time. Every actor has a | 19 // schedule events to be triggered at the specified time. Every actor has a |
| 20 // name assigned to it, which can be used for debugging and addressing purposes. | 20 // name assigned to it, which can be used for debugging and addressing purposes. |
| 21 // | 21 // |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 Actor(Actor&&) = delete; | 57 Actor(Actor&&) = delete; |
| 58 Actor& operator=(Actor&&) = delete; | 58 Actor& operator=(Actor&&) = delete; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(Actor); | 60 DISALLOW_COPY_AND_ASSIGN(Actor); |
| 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_ACTOR_H_ | 66 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_ACTOR_H_ |
| OLD | NEW |