Index: net/quic/crypto/quic_crypto_client_config.h |
diff --git a/net/quic/crypto/quic_crypto_client_config.h b/net/quic/crypto/quic_crypto_client_config.h |
index 38575c85fe58ccde68431d2a88585eac935421e6..78850dd10375018dcef865b76988e55fea440f1d 100644 |
--- a/net/quic/crypto/quic_crypto_client_config.h |
+++ b/net/quic/crypto/quic_crypto_client_config.h |
@@ -245,6 +245,11 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig { |
// TODO(rch): remove this method when we drop support for Windows XP. |
void DisableEcdsa(); |
+ // Saves the client version. It is passed in QUIC's CHLO message. |
+ void set_client_version(std::string client_version) { |
+ client_version_ = client_version; |
+ } |
+ |
private: |
typedef std::map<QuicServerId, CachedState*> CachedStateMap; |
@@ -274,6 +279,9 @@ class NET_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig { |
// True if ECDSA should be disabled. |
bool disable_ecdsa_; |
+ // Client version and it is passed in QUIC's CHLO message. |
+ std::string client_version_; |
+ |
DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig); |
}; |