Index: net/quic/quic_write_blocked_list.h |
diff --git a/net/quic/quic_write_blocked_list.h b/net/quic/quic_write_blocked_list.h |
index 5e24b80612eb71c8d5b1584e3c0c7a5ab8555ff2..ad511877a660e38aff105ab0cb27ccc355c10f80 100644 |
--- a/net/quic/quic_write_blocked_list.h |
+++ b/net/quic/quic_write_blocked_list.h |
@@ -5,8 +5,12 @@ |
#ifndef NET_QUIC_QUIC_WRITE_BLOCKED_LIST_H_ |
#define NET_QUIC_QUIC_WRITE_BLOCKED_LIST_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <set> |
+#include "base/macros.h" |
#include "net/base/net_export.h" |
#include "net/quic/quic_flags.h" |
#include "net/quic/quic_protocol.h" |
@@ -120,7 +124,7 @@ class NET_EXPORT_PRIVATE QuicWriteBlockedList { |
// If this was the last data stream popped by PopFront, update the |
// bytes remaining in its batch write. |
bytes_left_for_batch_write_[last_priority_popped_] -= |
- static_cast<int32>(bytes); |
+ static_cast<int32_t>(bytes); |
} else { |
// If a batch write stream was set, it should only be preempted by the |
// crypto or headers streams. Any higher priority data stream would |
@@ -185,7 +189,7 @@ class NET_EXPORT_PRIVATE QuicWriteBlockedList { |
// Set to kBatchWriteSize when we set a new batch_write_stream_id_ for a given |
// priority. This is decremented with each write the stream does until it is |
// done with its batch write. |
- int32 bytes_left_for_batch_write_[kV3LowestPriority + 1]; |
+ int32_t bytes_left_for_batch_write_[kV3LowestPriority + 1]; |
// Tracks the last priority popped for UpdateBytesForStream. |
SpdyPriority last_priority_popped_; |