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

Side by Side Diff: net/quic/congestion_control/send_algorithm_interface.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 (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 // The pure virtual class for send side congestion control algorithm. 5 // The pure virtual class for send side congestion control algorithm.
6 6
7 #ifndef NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_ 7 #ifndef NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_
8 #define NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_ 8 #define NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <map> 11 #include <map>
12 12
13 #include "base/basictypes.h"
14 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
15 #include "net/quic/quic_bandwidth.h" 14 #include "net/quic/quic_bandwidth.h"
16 #include "net/quic/quic_clock.h" 15 #include "net/quic/quic_clock.h"
17 #include "net/quic/quic_config.h" 16 #include "net/quic/quic_config.h"
18 #include "net/quic/quic_connection_stats.h" 17 #include "net/quic/quic_connection_stats.h"
19 #include "net/quic/quic_protocol.h" 18 #include "net/quic/quic_protocol.h"
20 #include "net/quic/quic_time.h" 19 #include "net/quic/quic_time.h"
21 20
22 namespace net { 21 namespace net {
23 22
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Called by the Session when we get a bandwidth estimate from the client. 117 // Called by the Session when we get a bandwidth estimate from the client.
119 // Uses the max bandwidth in the params if |max_bandwidth_resumption| is true. 118 // Uses the max bandwidth in the params if |max_bandwidth_resumption| is true.
120 virtual void ResumeConnectionState( 119 virtual void ResumeConnectionState(
121 const CachedNetworkParameters& cached_network_params, 120 const CachedNetworkParameters& cached_network_params,
122 bool max_bandwidth_resumption) = 0; 121 bool max_bandwidth_resumption) = 0;
123 }; 122 };
124 123
125 } // namespace net 124 } // namespace net
126 125
127 #endif // NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_ 126 #endif // NET_QUIC_CONGESTION_CONTROL_SEND_ALGORITHM_INTERFACE_H_
OLDNEW
« no previous file with comments | « net/quic/congestion_control/rtt_stats.cc ('k') | net/quic/congestion_control/send_algorithm_simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698