Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: net/quic/test_tools/simulator/simulator.h

Issue 2619993003: Move quic_bug_tracker to quic/platform. No functional change expected. (Closed)
Patch Set: fix two includes Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SIMULATOR_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_SIMULATOR_SIMULATOR_H_
6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_SIMULATOR_H_ 6 #define NET_QUIC_TEST_TOOLS_SIMULATOR_SIMULATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <unordered_map> 9 #include <unordered_map>
10 #include <unordered_set> 10 #include <unordered_set>
11 11
12 #include "net/quic/core/quic_bug_tracker.h"
13 #include "net/quic/core/quic_connection.h" 12 #include "net/quic/core/quic_connection.h"
14 #include "net/quic/core/quic_simple_buffer_allocator.h" 13 #include "net/quic/core/quic_simple_buffer_allocator.h"
14 #include "net/quic/platform/api/quic_bug_tracker.h"
15 #include "net/quic/test_tools/simulator/actor.h" 15 #include "net/quic/test_tools/simulator/actor.h"
16 #include "net/quic/test_tools/simulator/alarm_factory.h" 16 #include "net/quic/test_tools/simulator/alarm_factory.h"
17 17
18 namespace net { 18 namespace net {
19 namespace simulator { 19 namespace simulator {
20 20
21 // Simulator is responsible for scheduling actors in the simulation and 21 // Simulator is responsible for scheduling actors in the simulation and
22 // providing basic utility interfaces (clock, alarms, RNG and others). 22 // providing basic utility interfaces (clock, alarms, RNG and others).
23 class Simulator : public QuicConnectionHelperInterface { 23 class Simulator : public QuicConnectionHelperInterface {
24 public: 24 public:
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 if (clock_.Now() >= end_time) { 157 if (clock_.Now() >= end_time) {
158 return false; 158 return false;
159 } 159 }
160 return return_value; 160 return return_value;
161 } 161 }
162 162
163 } // namespace simulator 163 } // namespace simulator
164 } // namespace net 164 } // namespace net
165 165
166 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_SIMULATOR_H_ 166 #endif // NET_QUIC_TEST_TOOLS_SIMULATOR_SIMULATOR_H_
OLDNEW
« no previous file with comments | « net/quic/platform/impl/quic_socket_address_impl.cc ('k') | net/tools/quic/platform/impl/quic_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698