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..7603999e3b2629c9cc8e053bdd211b8be6ddb42b 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.QuicClientHelloRejectReasons.Secure", |
+ packed_error); |
+ } else { |
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicClientHelloRejectReasons.Insecure", |
+ packed_error); |
+ } |
} |
return QUIC_NO_ERROR; |