summaryrefslogtreecommitdiffstats
path: root/net/quic
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic')
-rw-r--r--net/quic/crypto/quic_compressed_certs_cache.cc3
-rw-r--r--net/quic/crypto/quic_compressed_certs_cache.h1
-rw-r--r--net/quic/crypto/quic_crypto_server_config.cc3
-rw-r--r--net/quic/crypto/quic_crypto_server_config.h1
4 files changed, 8 insertions, 0 deletions
diff --git a/net/quic/crypto/quic_compressed_certs_cache.cc b/net/quic/crypto/quic_compressed_certs_cache.cc
index 1b6d55b..e4dffaf 100644
--- a/net/quic/crypto/quic_compressed_certs_cache.cc
+++ b/net/quic/crypto/quic_compressed_certs_cache.cc
@@ -38,6 +38,9 @@ QuicCompressedCertsCache::CachedCerts::CachedCerts(
client_cached_cert_hashes_(*uncompressed_certs.client_cached_cert_hashes),
compressed_cert_(compressed_cert) {}
+QuicCompressedCertsCache::CachedCerts::CachedCerts(const CachedCerts& other) =
+ default;
+
QuicCompressedCertsCache::CachedCerts::~CachedCerts() {}
bool QuicCompressedCertsCache::CachedCerts::MatchesUncompressedCerts(
diff --git a/net/quic/crypto/quic_compressed_certs_cache.h b/net/quic/crypto/quic_compressed_certs_cache.h
index 5bb0cf4..1a731c8 100644
--- a/net/quic/crypto/quic_compressed_certs_cache.h
+++ b/net/quic/crypto/quic_compressed_certs_cache.h
@@ -74,6 +74,7 @@ class NET_EXPORT_PRIVATE QuicCompressedCertsCache {
CachedCerts();
CachedCerts(const UncompressedCerts& uncompressed_certs,
const string& compressed_cert);
+ CachedCerts(const CachedCerts& other);
~CachedCerts();
diff --git a/net/quic/crypto/quic_crypto_server_config.cc b/net/quic/crypto/quic_crypto_server_config.cc
index 3ef62d2..c6d32e5 100644
--- a/net/quic/crypto/quic_crypto_server_config.cc
+++ b/net/quic/crypto/quic_crypto_server_config.cc
@@ -205,6 +205,9 @@ QuicCryptoServerConfig::ConfigOptions::ConfigOptions()
token_binding_enabled(false),
p256(false) {}
+QuicCryptoServerConfig::ConfigOptions::ConfigOptions(
+ const ConfigOptions& other) = default;
+
QuicCryptoServerConfig::QuicCryptoServerConfig(
StringPiece source_address_token_secret,
QuicRandom* server_nonce_entropy,
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index ead0c3f..33f088d 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -125,6 +125,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
// ConfigOptions contains options for generating server configs.
struct NET_EXPORT_PRIVATE ConfigOptions {
ConfigOptions();
+ ConfigOptions(const ConfigOptions& other);
// expiry_time is the time, in UNIX seconds, when the server config will
// expire. If unset, it defaults to the current time plus six months.