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

Unified Diff: net/quic/crypto/quic_crypto_server_config.h

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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/quic_crypto_client_config_test.cc ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('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.h
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index faec4a17cf057caed15060c418f49dacb0e7d284..ef8f6e968615f2af33ecf2b850dd09967bd2e112 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -217,7 +217,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// chain and proof in the case of secure QUIC. Returns true if successfully
// filled |out|.
//
- // |cached_network_params| is optional, and can be NULL.
+ // |cached_network_params| is optional, and can be nullptr.
bool BuildServerConfigUpdateMessage(
const IPEndPoint& client_ip,
const QuicClock* clock,
@@ -392,11 +392,11 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// ParseConfigProtobuf parses the given config protobuf and returns a
// scoped_refptr<Config> if successful. The caller adopts the reference to the
- // Config. On error, ParseConfigProtobuf returns NULL.
+ // Config. On error, ParseConfigProtobuf returns nullptr.
scoped_refptr<Config> ParseConfigProtobuf(QuicServerConfigProtobuf* protobuf);
// NewSourceAddressToken returns a fresh source address token for the given
- // IP address. |cached_network_params| is optional, and can be NULL.
+ // IP address. |cached_network_params| is optional, and can be nullptr.
std::string NewSourceAddressToken(
const Config& config,
const IPEndPoint& ip,
@@ -429,8 +429,8 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
bool replay_protection_;
// configs_ satisfies the following invariants:
- // 1) configs_.empty() <-> primary_config_ == NULL
- // 2) primary_config_ != NULL -> primary_config_->is_primary
+ // 1) configs_.empty() <-> primary_config_ == nullptr
+ // 2) primary_config_ != nullptr -> primary_config_->is_primary
// 3) ∀ c∈configs_, c->is_primary <-> c == primary_config_
mutable base::Lock configs_lock_;
// configs_ contains all active server configs. It's expected that there are
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config_test.cc ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698