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

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

Issue 1047483002: Always build a QuicSecureConfigUpdater at startup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_server_config.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/quic_crypto_server_config.cc
diff --git a/net/quic/crypto/quic_crypto_server_config.cc b/net/quic/crypto/quic_crypto_server_config.cc
index 557435d108562a8519cf20ba4b9346a6e05b4a6a..5440cc697ab20d773c74ea2cd699f248e02fba30 100644
--- a/net/quic/crypto/quic_crypto_server_config.cc
+++ b/net/quic/crypto/quic_crypto_server_config.cc
@@ -1466,6 +1466,11 @@ bool QuicCryptoServerConfig::HasProofSource() const {
return proof_source_ != nullptr;
}
+int QuicCryptoServerConfig::NumberOfConfigs() const {
+ base::AutoLock locked(configs_lock_);
+ return configs_.size();
+}
+
HandshakeFailureReason QuicCryptoServerConfig::ParseSourceAddressToken(
const Config& config,
StringPiece token,
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698