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

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

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enough! Created 5 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 cb3f776beb65f96f15f37ce41c32df895ef3834d..02d0523348589ea6c5505079c61f63afdeaddbb8 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -147,7 +147,8 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// |proof_source|: provides certificate chains and signatures. This class
// takes ownership of |proof_source|.
QuicCryptoServerConfig(base::StringPiece source_address_token_secret,
- QuicRandom* server_nonce_entropy);
+ QuicRandom* server_nonce_entropy,
+ ProofSource* proof_source);
~QuicCryptoServerConfig();
// TESTING is a magic parameter for passing to the constructor in tests.
@@ -279,10 +280,6 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
const CachedNetworkParameters* cached_network_params,
CryptoHandshakeMessage* out) const;
- // SetProofSource installs |proof_source| as the ProofSource for handshakes.
- // This object takes ownership of |proof_source|.
- void SetProofSource(ProofSource* proof_source);
-
// SetEphemeralKeySource installs an object that can cache ephemeral keys for
// a short period of time. This object takes ownership of
// |ephemeral_key_source|. If not set then ephemeral keys will be generated
@@ -344,9 +341,6 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// Set and take ownership of the callback to invoke on primary config changes.
void AcquirePrimaryConfigChangedCb(PrimaryConfigChangedCallback* cb);
- // Returns true if this config has a |proof_source_|.
- bool HasProofSource() const;
-
// Returns the number of configs this object owns.
int NumberOfConfigs() const;
« 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