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

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

Issue 1660533002: Landing Recent QUIC changes until 01/26/2016 18:14 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/crypto/crypto_handshake.cc ('k') | net/quic/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/crypto/quic_crypto_server_config.h
diff --git a/net/quic/crypto/quic_crypto_server_config.h b/net/quic/crypto/quic_crypto_server_config.h
index 0aba62e22531048934a3e3a6349f7630a56d53bc..4962a1770a0ddd46eabdcd94671f11a004bb2967 100644
--- a/net/quic/crypto/quic_crypto_server_config.h
+++ b/net/quic/crypto/quic_crypto_server_config.h
@@ -41,6 +41,7 @@ class QuicRandom;
class QuicServerConfigProtobuf;
class StrikeRegister;
class StrikeRegisterClient;
+struct QuicCryptoProof;
// ClientHelloInfo contains information about a client hello message that is
// only kept for as long as it's being processed.
@@ -361,6 +362,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
private:
friend class test::QuicCryptoServerConfigPeer;
+ friend struct QuicCryptoProof;
// Config represents a server config: a collection of preferences and
// Diffie-Hellman public values.
@@ -621,6 +623,20 @@ class NET_EXPORT_PRIVATE QuicCryptoServerConfig {
DISALLOW_COPY_AND_ASSIGN(QuicCryptoServerConfig);
};
+struct NET_EXPORT_PRIVATE QuicCryptoProof {
+ QuicCryptoProof();
+ ~QuicCryptoProof();
+
+ std::string signature;
+ // QuicCryptoProof does not take ownership of |certs|.
+ const std::vector<std::string>* certs;
+ std::string cert_sct;
+ // The server config that is used for this proof (and the rest of the
+ // request).
+ scoped_refptr<QuicCryptoServerConfig::Config> config;
+ std::string primary_scid;
+};
+
} // namespace net
#endif // NET_QUIC_CRYPTO_QUIC_CRYPTO_SERVER_CONFIG_H_
« no previous file with comments | « net/quic/crypto/crypto_handshake.cc ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698