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

Unified Diff: net/quic/port_suggester_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/port_suggester.cc ('k') | net/quic/quic_ack_listener_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/port_suggester_unittest.cc
diff --git a/net/quic/port_suggester_unittest.cc b/net/quic/port_suggester_unittest.cc
index 093719a1c8c654d6a558c3b6aed0c254c5b8d162..d62f024cea2e964f6612e59af50865248962a2ee 100644
--- a/net/quic/port_suggester_unittest.cc
+++ b/net/quic/port_suggester_unittest.cc
@@ -6,7 +6,6 @@
#include <set>
-#include "base/basictypes.h"
#include "net/base/host_port_pair.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,7 +19,7 @@ class PortSuggesterTest : public ::testing::Test {
min_ephemeral_port_(1025),
max_ephemeral_port_(65535) {}
- uint64 entropy_;
+ uint64_t entropy_;
int min_ephemeral_port_;
int max_ephemeral_port_;
};
@@ -43,7 +42,7 @@ TEST_F(PortSuggesterTest, SuggestAllPorts) {
scoped_refptr<PortSuggester> port_suggester =
new PortSuggester(HostPortPair("www.example.com", 443), entropy_);
std::set<int> ports;
- const uint32 port_range = 20;
+ const uint32_t port_range = 20;
const int insertion_limit = 200; // We should be done by then.
for (int i = 0; i < insertion_limit; ++i) {
ports.insert(port_suggester->SuggestPort(
« no previous file with comments | « net/quic/port_suggester.cc ('k') | net/quic/quic_ack_listener_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698