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

Unified Diff: net/quic/quic_connection_stats.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_connection_logger.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_stats.h
diff --git a/net/quic/quic_connection_stats.h b/net/quic/quic_connection_stats.h
index 737d81a8248799c3c553309ca2c5e5028dce5276..655ab321f836a832ef25931149345f50b6e099c5 100644
--- a/net/quic/quic_connection_stats.h
+++ b/net/quic/quic_connection_stats.h
@@ -5,9 +5,11 @@
#ifndef NET_QUIC_QUIC_CONNECTION_STATS_H_
#define NET_QUIC_QUIC_CONNECTION_STATS_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <ostream>
-#include "base/basictypes.h"
#include "net/base/net_export.h"
#include "net/quic/quic_bandwidth.h"
#include "net/quic/quic_protocol.h"
@@ -61,8 +63,8 @@ struct NET_EXPORT_PRIVATE QuicConnectionStats {
size_t tlp_count;
size_t rto_count; // Count of times the rto timer fired.
- int64 min_rtt_us; // Minimum RTT in microseconds.
- int64 srtt_us; // Smoothed RTT in microseconds.
+ int64_t min_rtt_us; // Minimum RTT in microseconds.
+ int64_t srtt_us; // Smoothed RTT in microseconds.
QuicByteCount max_packet_size;
QuicByteCount max_received_packet_size;
QuicBandwidth estimated_bandwidth;
@@ -73,12 +75,12 @@ struct NET_EXPORT_PRIVATE QuicConnectionStats {
// Maximum reordering observed in packet number space.
QuicPacketNumber max_sequence_reordering;
// Maximum reordering observed in microseconds
- int64 max_time_reordering_us;
+ int64_t max_time_reordering_us;
// The following stats are used only in TcpCubicSender.
// The number of loss events from TCP's perspective. Each loss event includes
// one or more lost packets.
- uint32 tcp_loss_events;
+ uint32_t tcp_loss_events;
// Creation time, as reported by the QuicClock.
QuicTime connection_creation_time;
« no previous file with comments | « net/quic/quic_connection_logger.cc ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698