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..7cd3c71d1f24d5472f7419a7be9823225038ca48 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 that will be passed in QUIC's CHLO message. |
+ void set_client_version(const std::string& client_version) { |
Ryan Hamilton
2014/06/05 14:12:15
I'm still not enamored of "version". It makes me t
ramant (doing other things)
2014/06/05 17:07:49
jar suggested UAID. Changed all the code to use us
|
+ 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 that is passed in QUIC's CHLO message. |
+ std::string client_version_; |
+ |
DISALLOW_COPY_AND_ASSIGN(QuicCryptoClientConfig); |
}; |