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

Unified Diff: net/socket_stream/socket_stream_job.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_job.cc
===================================================================
--- net/socket_stream/socket_stream_job.cc (revision 128526)
+++ net/socket_stream/socket_stream_job.cc (working copy)
@@ -28,7 +28,7 @@
GURL socket_url(url);
TransportSecurityState::DomainState domain_state;
if (url.scheme() == "ws" && sts && sts->GetDomainState(
- &domain_state, url.host(), SSLConfigService::IsSNIAvailable(ssl)) &&
+ url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) &&
domain_state.ShouldRedirectHTTPToHTTPS()) {
Ryan Sleevi 2012/03/28 00:50:32 Does STS apply to non-HTTPS? I didn't think the W
palmer 2012/04/10 23:25:51 I don't know (but I'd vote yes). But, all I'm doin
url_canon::Replacements<char> replacements;
static const char kNewScheme[] = "wss";

Powered by Google App Engine
This is Rietveld 408576698