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

Unified Diff: net/socket_stream/socket_stream_job.cc

Issue 578553004: Remove the "snionly" concept from the HSTS preload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ... Created 6 years, 3 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/socket_stream/socket_stream.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream_job.cc
diff --git a/net/socket_stream/socket_stream_job.cc b/net/socket_stream/socket_stream_job.cc
index a481b97526e2a314373d5331e60710fce9720aac..66da741b41882d263de4a83c6770abbcfe00d51d 100644
--- a/net/socket_stream/socket_stream_job.cc
+++ b/net/socket_stream/socket_stream_job.cc
@@ -29,8 +29,7 @@ SocketStreamJob* SocketStreamJob::CreateSocketStreamJob(
CookieStore* cookie_store) {
GURL socket_url(url);
if (url.scheme() == "ws" && sts &&
- sts->ShouldUpgradeToSSL(url.host(),
- SSLConfigService::IsSNIAvailable(ssl))) {
+ sts->ShouldUpgradeToSSL(url.host())) {
url::Replacements<char> replacements;
static const char kNewScheme[] = "wss";
replacements.SetScheme(kNewScheme, url::Component(0, strlen(kNewScheme)));
« no previous file with comments | « net/socket_stream/socket_stream.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698