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

Unified Diff: net/quic/quic_network_transaction_unittest.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_http_utils_test.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_network_transaction_unittest.cc
diff --git a/net/quic/quic_network_transaction_unittest.cc b/net/quic/quic_network_transaction_unittest.cc
index 245021a0d6a3aa7d0e77ca1a1d1eb6f7f70b4711..22ad48ccbbc3389d2b3ff8d069bf4118c9766906 100644
--- a/net/quic/quic_network_transaction_unittest.cc
+++ b/net/quic/quic_network_transaction_unittest.cc
@@ -4,8 +4,8 @@
#include <vector>
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/stl_util.h"
@@ -351,7 +351,7 @@ class QuicNetworkTransactionTest
}
void CheckResponsePort(const scoped_ptr<HttpNetworkTransaction>& trans,
- uint16 port) {
+ uint16_t port) {
const HttpResponseInfo* response = trans->GetResponseInfo();
ASSERT_TRUE(response != nullptr);
EXPECT_EQ(port, response->socket_address.port());
@@ -395,13 +395,13 @@ class QuicNetworkTransactionTest
}
void SendRequestAndExpectQuicResponseOnPort(const std::string& expected,
- uint16 port) {
+ uint16_t port) {
SendRequestAndExpectQuicResponseMaybeFromProxy(expected, false, port);
}
void SendRequestAndExpectQuicResponseFromProxyOnPort(
const std::string& expected,
- uint16 port) {
+ uint16_t port) {
SendRequestAndExpectQuicResponseMaybeFromProxy(expected, true, port);
}
@@ -466,7 +466,7 @@ class QuicNetworkTransactionTest
void SendRequestAndExpectQuicResponseMaybeFromProxy(
const std::string& expected,
bool used_proxy,
- uint16 port) {
+ uint16_t port) {
scoped_ptr<HttpNetworkTransaction> trans(
new HttpNetworkTransaction(DEFAULT_PRIORITY, session_.get()));
ProxyHeadersHandler proxy_headers_handler;
« no previous file with comments | « net/quic/quic_http_utils_test.cc ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698