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

Unified Diff: net/quic/test_tools/mock_random.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/test_tools/mock_random.h ('k') | net/quic/test_tools/quic_chromium_client_session_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/mock_random.cc
diff --git a/net/quic/test_tools/mock_random.cc b/net/quic/test_tools/mock_random.cc
index a8a8e53bd9e9417b7d3fe3995d8ea13b6c816e74..87977be8de97f69331b1f74f7d9df7d5d001ce70 100644
--- a/net/quic/test_tools/mock_random.cc
+++ b/net/quic/test_tools/mock_random.cc
@@ -9,13 +9,13 @@ namespace test {
MockRandom::MockRandom() : base_(0xDEADBEEF), increment_(0) {}
-MockRandom::MockRandom(uint32 base) : base_(base), increment_(0) {}
+MockRandom::MockRandom(uint32_t base) : base_(base), increment_(0) {}
void MockRandom::RandBytes(void* data, size_t len) {
memset(data, 'r' + increment_, len);
}
-uint64 MockRandom::RandUint64() {
+uint64_t MockRandom::RandUint64() {
return base_ + increment_;
}
« no previous file with comments | « net/quic/test_tools/mock_random.h ('k') | net/quic/test_tools/quic_chromium_client_session_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698