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

Unified Diff: net/socket_stream/socket_stream.cc

Issue 9415040: Refactor TransportSecurityState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: net/socket_stream/socket_stream.cc
===================================================================
--- net/socket_stream/socket_stream.cc (revision 128526)
+++ net/socket_stream/socket_stream.cc (working copy)
@@ -9,6 +9,7 @@
#include <set>
#include <string>
+#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -1201,8 +1202,9 @@
const bool fatal =
context_->transport_security_state() &&
context_->transport_security_state()->GetDomainState(
- &domain_state, url_.host(),
- SSLConfigService::IsSNIAvailable(context_->ssl_config_service()));
+ url_.host(),
+ SSLConfigService::IsSNIAvailable(context_->ssl_config_service()),
+ &domain_state);
delegate_->OnSSLCertificateError(this, ssl_info, fatal);
return ERR_IO_PENDING;

Powered by Google App Engine
This is Rietveld 408576698