| Index: net/quic/core/quic_crypto_server_stream.h
|
| diff --git a/net/quic/core/quic_crypto_server_stream.h b/net/quic/core/quic_crypto_server_stream.h
|
| index 0c8d5044a12250dcf5e3477bbaf239ccfdbe200e..0da8d4bb581919dc76cbf4581992f0d0e4039c55 100644
|
| --- a/net/quic/core/quic_crypto_server_stream.h
|
| +++ b/net/quic/core/quic_crypto_server_stream.h
|
| @@ -124,6 +124,15 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream
|
| void SetPreviousCachedNetworkParams(
|
| CachedNetworkParameters cached_network_params) override;
|
|
|
| + // NOTE: Indicating that the Expect-CT header should be sent here presents
|
| + // a layering violation to some extent. The Expect-CT header only applies to
|
| + // HTTP connections, while this class can be used for non-HTTP applications.
|
| + // However, it is exposed here because that is the only place where the
|
| + // configuration for the certificate used in the connection is accessible.
|
| + bool ShouldSendExpectCTHeader() const {
|
| + return signed_config_->send_expect_ct_header;
|
| + }
|
| +
|
| protected:
|
| virtual void ProcessClientHello(
|
| scoped_refptr<ValidateClientHelloResultCallback::Result> result,
|
|
|