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

Unified Diff: net/quic/core/crypto/local_strike_register_client_test.cc

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. Created 4 years, 1 month 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/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/proof_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/local_strike_register_client_test.cc
diff --git a/net/quic/core/crypto/local_strike_register_client_test.cc b/net/quic/core/crypto/local_strike_register_client_test.cc
index e28e627ed44e904a3ba8645d8de57280c1025733..ee2ca16c9a1ffa5941e6171adca2c64ab202e5fe 100644
--- a/net/quic/core/crypto/local_strike_register_client_test.cc
+++ b/net/quic/core/crypto/local_strike_register_client_test.cc
@@ -81,7 +81,7 @@ TEST_F(LocalStrikeRegisterClientTest, CheckOrbit) {
TEST_F(LocalStrikeRegisterClientTest, IncorrectNonceLength) {
string valid_nonce;
- uint32_t norder = htonl(kCurrentTimeExternalSecs);
+ uint32_t norder = base::HostToNet32(kCurrentTimeExternalSecs);
valid_nonce.assign(reinterpret_cast<const char*>(&norder), sizeof(norder));
valid_nonce.append(string(reinterpret_cast<const char*>(kOrbit), kOrbitSize));
valid_nonce.append(string(20, '\x17')); // 20 'random' bytes.
« no previous file with comments | « net/quic/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/proof_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698