Index: net/quic/crypto/quic_crypto_client_config.cc |
diff --git a/net/quic/crypto/quic_crypto_client_config.cc b/net/quic/crypto/quic_crypto_client_config.cc |
index 33d5242b708bf82bfc6bd79b5109b520cee3b56d..eda5c644b267976785260b62167ff2a251d52ad0 100644 |
--- a/net/quic/crypto/quic_crypto_client_config.cc |
+++ b/net/quic/crypto/quic_crypto_client_config.cc |
@@ -585,6 +585,7 @@ QuicErrorCode QuicCryptoClientConfig::ProcessRejection( |
const CryptoHandshakeMessage& rej, |
QuicWallTime now, |
CachedState* cached, |
+ bool is_https, |
QuicCryptoNegotiatedParameters* out_params, |
string* error_details) { |
DCHECK(error_details != NULL); |
@@ -621,8 +622,13 @@ QuicErrorCode QuicCryptoClientConfig::ProcessRejection( |
packed_error |= 1 << (reason - 1); |
} |
DVLOG(1) << "Reasons for rejection: " << packed_error; |
- UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicClientHelloRejectReasons", |
- packed_error); |
+ if (is_https) { |
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicClientHelloRejectReasonsSecure", |
+ packed_error); |
+ } else { |
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicClientHelloRejectReasonsInSecure", |
+ packed_error); |
+ } |
} |
return QUIC_NO_ERROR; |