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

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

Issue 2516433002: Minor refactors to enable sending an Expect-CT header more easily. (Closed)
Patch Set: Created 4 years, 1 month 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_proof.cc ('k') | 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 2a9cfb0cd27f4feefbca5ebf98c35781ce083361..6ccbbc0e405dd0829a6241bf69281b24d64aa8cc 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.h
+++ b/net/quic/core/crypto/quic_crypto_server_config.h
@@ -860,6 +860,14 @@ struct NET_EXPORT_PRIVATE QuicSignedServerConfig
// request).
scoped_refptr<QuicCryptoServerConfig::Config> config;
std::string primary_scid;
+ // Indication whether the Expect-CT header should be sent on the session
+ // this proof relates to (for background, see
+ // https://www.ietf.org/id/draft-stark-expect-ct-00.txt).
+ // NOTE: This field is intentionally independent from the |cert_sct| one
+ // and can be true even if |cert_sct| is empty.
+ // The goal of the Expect-CT header is uncover cases where valid SCTs are
+ // expected to be served, but aren't.
+ bool send_expect_ct_header;
private:
friend class base::RefCounted<QuicSignedServerConfig>;
« no previous file with comments | « net/quic/core/crypto/quic_crypto_proof.cc ('k') | net/quic/core/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698