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

Unified Diff: net/quic/core/crypto/quic_crypto_proof.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/proof_source.h ('k') | net/quic/core/crypto/quic_crypto_proof.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_proof.h
diff --git a/net/quic/core/crypto/quic_crypto_proof.h b/net/quic/core/crypto/quic_crypto_proof.h
index da83bfebae740fdb4840a9ef1c14b2f6c193e8d2..05f3bbe6f4043f38655e88557932b488802368d6 100644
--- a/net/quic/core/crypto/quic_crypto_proof.h
+++ b/net/quic/core/crypto/quic_crypto_proof.h
@@ -7,14 +7,21 @@
#include <string>
+#include "net/base/net_export.h"
+
namespace net {
// Contains the crypto-related data provided by ProofSource
-struct QuicCryptoProof {
+struct NET_EXPORT_PRIVATE QuicCryptoProof {
+ QuicCryptoProof();
+
// Signature generated by ProofSource
std::string signature;
// SCTList (RFC6962) to be sent to the client, if it supports receiving it.
std::string leaf_cert_scts;
+ // Should the Expect-CT header be sent on the connection where the
+ // certificate is used.
+ bool send_expect_ct_header;
};
} // namespace net
« no previous file with comments | « net/quic/core/crypto/proof_source.h ('k') | net/quic/core/crypto/quic_crypto_proof.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698