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

Unified Diff: net/quic/quic_unacked_packet_map.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_types.h ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_unacked_packet_map.h
diff --git a/net/quic/quic_unacked_packet_map.h b/net/quic/quic_unacked_packet_map.h
index 1622264e3a9e30ca15979880d3cb6efad5c4bd5d..51cd03e68e0fe9ac6d95d18c6d9564c7eb4cd04d 100644
--- a/net/quic/quic_unacked_packet_map.h
+++ b/net/quic/quic_unacked_packet_map.h
@@ -5,8 +5,11 @@
#ifndef NET_QUIC_QUIC_UNACKED_PACKET_MAP_H_
#define NET_QUIC_QUIC_UNACKED_PACKET_MAP_H_
+#include <stddef.h>
+
#include <deque>
+#include "base/macros.h"
#include "net/quic/quic_protocol.h"
namespace net {
@@ -41,7 +44,7 @@ class NET_EXPORT_PRIVATE QuicUnackedPacketMap {
bool IsUnacked(QuicPacketNumber packet_number) const;
// Sets the nack count to the max of the current nack count and |min_nacks|.
- void NackPacket(QuicPacketNumber packet_number, uint16 min_nacks);
+ void NackPacket(QuicPacketNumber packet_number, uint16_t min_nacks);
// Notifies all the AckListeners attached to the |info| and
// clears them to ensure they're not notified again.
« no previous file with comments | « net/quic/quic_types.h ('k') | net/quic/quic_unacked_packet_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698