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

Unified Diff: net/quic/crypto/quic_crypto_server_config_test.cc

Issue 1541263002: Landing Recent QUIC changes until 12/18/2015 13:57 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: replace -1 with 0xff for InvalidPathId 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/crypto/crypto_framer.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_server_config_test.cc
diff --git a/net/quic/crypto/quic_crypto_server_config_test.cc b/net/quic/crypto/quic_crypto_server_config_test.cc
index cbb07e6146cad30e4b04165e3ac2ef5a18365d2f..d7a887ed83757b4eab87133aae0110bb9c36b3f8 100644
--- a/net/quic/crypto/quic_crypto_server_config_test.cc
+++ b/net/quic/crypto/quic_crypto_server_config_test.cc
@@ -274,14 +274,14 @@ class SourceAddressTokenTest : public ::testing::Test {
}
string NewSourceAddressToken(string config_id, const IPAddressNumber& ip) {
- return NewSourceAddressToken(config_id, ip, NULL);
+ return NewSourceAddressToken(config_id, ip, nullptr);
}
string NewSourceAddressToken(string config_id,
const IPAddressNumber& ip,
const SourceAddressTokens& previous_tokens) {
return peer_.NewSourceAddressToken(config_id, previous_tokens, ip, rand_,
- clock_.WallNow(), NULL);
+ clock_.WallNow(), nullptr);
}
string NewSourceAddressToken(string config_id,
@@ -296,7 +296,7 @@ class SourceAddressTokenTest : public ::testing::Test {
string config_id,
StringPiece srct,
const IPAddressNumber& ip) {
- return ValidateSourceAddressTokens(config_id, srct, ip, NULL);
+ return ValidateSourceAddressTokens(config_id, srct, ip, nullptr);
}
HandshakeFailureReason ValidateSourceAddressTokens(
« no previous file with comments | « net/quic/crypto/crypto_framer.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698