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

Unified Diff: net/quic/quic_spdy_stream_test.cc

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_spdy_stream.h ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_spdy_stream_test.cc
diff --git a/net/quic/quic_spdy_stream_test.cc b/net/quic/quic_spdy_stream_test.cc
index 53b47c07a9a53aef1e5fbae1ef615102f1047da7..d12969b22667ca95ca572679513cd89f2b497282 100644
--- a/net/quic/quic_spdy_stream_test.cc
+++ b/net/quic/quic_spdy_stream_test.cc
@@ -349,7 +349,7 @@ TEST_P(QuicSpdyStreamTest, StreamFlowControlBlocked) {
Initialize(kShouldProcessData);
// Set a small flow control limit.
- const uint64 kWindow = 36;
+ const uint64_t kWindow = 36;
QuicFlowControllerPeer::SetSendWindowOffset(stream_->flow_controller(),
kWindow);
EXPECT_EQ(kWindow, QuicFlowControllerPeer::SendWindowOffset(
@@ -358,7 +358,7 @@ TEST_P(QuicSpdyStreamTest, StreamFlowControlBlocked) {
// Try to send more data than the flow control limit allows.
string headers = SpdyUtils::SerializeUncompressedHeaders(headers_);
string body;
- const uint64 kOverflow = 15;
+ const uint64_t kOverflow = 15;
GenerateBody(&body, kWindow + kOverflow);
EXPECT_CALL(*connection_, SendBlocked(kClientDataStreamId1));
@@ -387,7 +387,7 @@ TEST_P(QuicSpdyStreamTest, StreamFlowControlNoWindowUpdateIfNotConsumed) {
EXPECT_CALL(*connection_, SendWindowUpdate(_, _)).Times(0);
// Set a small flow control receive window.
- const uint64 kWindow = 36;
+ const uint64_t kWindow = 36;
QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
kWindow);
QuicFlowControllerPeer::SetMaxReceiveWindow(stream_->flow_controller(),
@@ -425,7 +425,7 @@ TEST_P(QuicSpdyStreamTest, StreamFlowControlWindowUpdate) {
Initialize(kShouldProcessData);
// Set a small flow control limit.
- const uint64 kWindow = 36;
+ const uint64_t kWindow = 36;
QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
kWindow);
QuicFlowControllerPeer::SetMaxReceiveWindow(stream_->flow_controller(),
@@ -469,7 +469,7 @@ TEST_P(QuicSpdyStreamTest, ConnectionFlowControlWindowUpdate) {
Initialize(kShouldProcessData);
// Set a small flow control limit for streams and connection.
- const uint64 kWindow = 36;
+ const uint64_t kWindow = 36;
QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
kWindow);
QuicFlowControllerPeer::SetMaxReceiveWindow(stream_->flow_controller(),
@@ -524,7 +524,7 @@ TEST_P(QuicSpdyStreamTest, StreamFlowControlViolation) {
Initialize(!kShouldProcessData);
// Set a small flow control limit.
- const uint64 kWindow = 50;
+ const uint64_t kWindow = 50;
QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
kWindow);
@@ -570,8 +570,8 @@ TEST_P(QuicSpdyStreamTest, ConnectionFlowControlViolation) {
Initialize(!kShouldProcessData);
// Set a small flow control window on streams, and connection.
- const uint64 kStreamWindow = 50;
- const uint64 kConnectionWindow = 10;
+ const uint64_t kStreamWindow = 50;
+ const uint64_t kConnectionWindow = 10;
QuicFlowControllerPeer::SetReceiveWindowOffset(stream_->flow_controller(),
kStreamWindow);
QuicFlowControllerPeer::SetReceiveWindowOffset(session_->flow_controller(),
« no previous file with comments | « net/quic/quic_spdy_stream.h ('k') | net/quic/quic_stream_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698