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

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

Issue 2825493004: Uniquify QuicCryptoServerConfig::SetEphemeralKeySource (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | net/quic/core/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/core/crypto/quic_crypto_server_config.h
diff --git a/net/quic/core/crypto/quic_crypto_server_config.h b/net/quic/core/crypto/quic_crypto_server_config.h
index 9c30c01bd06cb65257c36b2566b9d932fa73a17e..4094855afdaf0fe95a26cbf626bdc464021a9818 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.h
+++ b/net/quic/core/crypto/quic_crypto_server_config.h
@@ -349,10 +349,10 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerConfig {
std::unique_ptr<BuildServerConfigUpdateMessageResultCallback> cb) const;
// 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
+ // a short period of time. If not set, ephemeral keys will be generated
// per-connection.
- void SetEphemeralKeySource(EphemeralKeySource* ephemeral_key_source);
+ void SetEphemeralKeySource(
+ std::unique_ptr<EphemeralKeySource> ephemeral_key_source);
// set_replay_protection controls whether replay protection is enabled. If
// replay protection is disabled then no strike registers are needed and
« no previous file with comments | « no previous file | net/quic/core/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698