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

Unified Diff: net/http/http_stream_factory_impl_request.cc

Issue 1127623005: Gather metrics classifying the cause of the TLS fallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fallback-required
Patch Set: missing header Created 5 years, 7 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/http/http_stream_factory_impl_request.h ('k') | net/http/http_stream_factory_impl_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory_impl_request.cc
diff --git a/net/http/http_stream_factory_impl_request.cc b/net/http/http_stream_factory_impl_request.cc
index d8a4b5b6bd9e3447b51f80bf86fad2aab0478f62..53548b1254fbf0706ca1c177bac9a57264f6bd17 100644
--- a/net/http/http_stream_factory_impl_request.cc
+++ b/net/http/http_stream_factory_impl_request.cc
@@ -116,7 +116,8 @@ void HttpStreamFactoryImpl::Request::OnWebSocketHandshakeStreamReady(
void HttpStreamFactoryImpl::Request::OnStreamFailed(
Job* job,
int status,
- const SSLConfig& used_ssl_config) {
+ const SSLConfig& used_ssl_config,
+ SSLFailureState ssl_failure_state) {
DCHECK_NE(OK, status);
DCHECK(job);
if (!bound_job_.get()) {
@@ -139,7 +140,7 @@ void HttpStreamFactoryImpl::Request::OnStreamFailed(
} else {
DCHECK(jobs_.empty());
}
- delegate_->OnStreamFailed(status, used_ssl_config);
+ delegate_->OnStreamFailed(status, used_ssl_config, ssl_failure_state);
}
void HttpStreamFactoryImpl::Request::OnCertificateError(
« no previous file with comments | « net/http/http_stream_factory_impl_request.h ('k') | net/http/http_stream_factory_impl_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698