Index: net/tools/quic/quic_server_session.cc |
diff --git a/net/tools/quic/quic_server_session.cc b/net/tools/quic/quic_server_session.cc |
index 2c39919c5882c92692da097d5c05a0c5d6466817..5d58f66da469de083f9b51f88188d2ff8d5e2b8a 100644 |
--- a/net/tools/quic/quic_server_session.cc |
+++ b/net/tools/quic/quic_server_session.cc |
@@ -60,7 +60,7 @@ void QuicServerSession::OnConfigNegotiated() { |
last_bandwidth_resumption || max_bandwidth_resumption; |
if (cached_network_params != nullptr && bandwidth_resumption_enabled_ && |
cached_network_params->serving_region() == serving_region_) { |
- int64 seconds_since_estimate = |
+ int64_t seconds_since_estimate = |
connection()->clock()->WallNow().ToUNIXSeconds() - |
cached_network_params->timestamp(); |
bool estimate_within_last_hour = |
@@ -108,10 +108,10 @@ void QuicServerSession::OnCongestionWindowChange(QuicTime now) { |
// client, or not enough packets have been sent, then return early. |
const QuicSentPacketManager& sent_packet_manager = |
connection()->sent_packet_manager(); |
- int64 srtt_ms = |
+ int64_t srtt_ms = |
sent_packet_manager.GetRttStats()->smoothed_rtt().ToMilliseconds(); |
- int64 now_ms = now.Subtract(last_scup_time_).ToMilliseconds(); |
- int64 packets_since_last_scup = |
+ int64_t now_ms = now.Subtract(last_scup_time_).ToMilliseconds(); |
+ int64_t packets_since_last_scup = |
connection()->packet_number_of_last_sent_packet() - |
last_scup_packet_number_; |
if (now_ms < (kMinIntervalBetweenServerConfigUpdatesRTTs * srtt_ms) || |
@@ -132,7 +132,7 @@ void QuicServerSession::OnCongestionWindowChange(QuicTime now) { |
// we sent to the client, and if so, send the new one. |
QuicBandwidth new_bandwidth_estimate = bandwidth_recorder.BandwidthEstimate(); |
- int64 bandwidth_delta = |
+ int64_t bandwidth_delta = |
std::abs(new_bandwidth_estimate.ToBitsPerSecond() - |
bandwidth_estimate_sent_to_client_.ToBitsPerSecond()); |
@@ -152,7 +152,7 @@ void QuicServerSession::OnCongestionWindowChange(QuicTime now) { |
// Include max bandwidth in the update. |
QuicBandwidth max_bandwidth_estimate = |
bandwidth_recorder.MaxBandwidthEstimate(); |
- int32 max_bandwidth_timestamp = bandwidth_recorder.MaxBandwidthTimestamp(); |
+ int32_t max_bandwidth_timestamp = bandwidth_recorder.MaxBandwidthTimestamp(); |
// Fill the proto before passing it to the crypto stream to send. |
CachedNetworkParameters cached_network_params; |