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

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

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 | « net/quic/core/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/core/crypto/quic_crypto_server_config.cc
diff --git a/net/quic/core/crypto/quic_crypto_server_config.cc b/net/quic/core/crypto/quic_crypto_server_config.cc
index b807d46ea637352bc1caef734b475d1a38aafab8..6d9c9d86448f0370597d053e94705b5c987fd42c 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.cc
+++ b/net/quic/core/crypto/quic_crypto_server_config.cc
@@ -1751,8 +1751,8 @@ QuicCryptoServerConfig::ParseConfigProtobuf(
}
void QuicCryptoServerConfig::SetEphemeralKeySource(
- EphemeralKeySource* ephemeral_key_source) {
- ephemeral_key_source_.reset(ephemeral_key_source);
+ std::unique_ptr<EphemeralKeySource> ephemeral_key_source) {
+ ephemeral_key_source_ = std::move(ephemeral_key_source);
}
void QuicCryptoServerConfig::set_replay_protection(bool on) {
« no previous file with comments | « net/quic/core/crypto/quic_crypto_server_config.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698