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

Side by Side Diff: net/quic/congestion_control/send_algorithm_simulator.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 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 // A test only class to enable simulations of send algorithms. 5 // A test only class to enable simulations of send algorithms.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_
8 #define NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_
9 9
10 #include <stddef.h>
11
10 #include <algorithm> 12 #include <algorithm>
11 #include <string> 13 #include <string>
12 #include <vector> 14 #include <vector>
13 15
14 #include "base/basictypes.h"
15 #include "base/format_macros.h" 16 #include "base/format_macros.h"
17 #include "base/macros.h"
16 #include "base/strings/stringprintf.h" 18 #include "base/strings/stringprintf.h"
17 #include "net/quic/congestion_control/send_algorithm_interface.h" 19 #include "net/quic/congestion_control/send_algorithm_interface.h"
18 #include "net/quic/quic_protocol.h" 20 #include "net/quic/quic_protocol.h"
19 #include "net/quic/quic_time.h" 21 #include "net/quic/quic_time.h"
20 #include "net/quic/test_tools/mock_clock.h" 22 #include "net/quic/test_tools/mock_clock.h"
21 #include "net/quic/test_tools/quic_test_utils.h" 23 #include "net/quic/test_tools/quic_test_utils.h"
22 24
23 using base::StringPrintf; 25 using base::StringPrintf;
24 26
25 namespace net { 27 namespace net {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 QuicTime::Delta rtt_; 229 QuicTime::Delta rtt_;
228 size_t buffer_size_; // In bytes. 230 size_t buffer_size_; // In bytes.
229 QuicTime::Delta delayed_ack_timer_; 231 QuicTime::Delta delayed_ack_timer_;
230 232
231 DISALLOW_COPY_AND_ASSIGN(SendAlgorithmSimulator); 233 DISALLOW_COPY_AND_ASSIGN(SendAlgorithmSimulator);
232 }; 234 };
233 235
234 } // namespace net 236 } // namespace net
235 237
236 #endif // NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_ 238 #endif // NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_SIMULATOR_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/send_algorithm_interface.h ('k') | net/quic/congestion_control/tcp_cubic_bytes_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698