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

Unified Diff: trunk/src/net/socket_stream/socket_stream_job.cc

Issue 24251011: Revert 224269 "Don't persist HPKP if PrivacyMode is enabled." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | « trunk/src/net/socket_stream/socket_stream.cc ('k') | trunk/src/net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/socket_stream/socket_stream_job.cc
===================================================================
--- trunk/src/net/socket_stream/socket_stream_job.cc (revision 224274)
+++ trunk/src/net/socket_stream/socket_stream_job.cc (working copy)
@@ -27,12 +27,8 @@
SSLConfigService* ssl) {
GURL socket_url(url);
TransportSecurityState::DomainState domain_state;
- if (url.scheme() == "ws" && sts &&
- sts->GetDomainState(
- url.host(),
- SSLConfigService::IsSNIAvailable(ssl),
- delegate->CanGetCookies(NULL, SocketStream::GetURLForCookies(url)),
- &domain_state) &&
+ if (url.scheme() == "ws" && sts && sts->GetDomainState(
+ url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) &&
domain_state.ShouldUpgradeToSSL()) {
url_canon::Replacements<char> replacements;
static const char kNewScheme[] = "wss";
« no previous file with comments | « trunk/src/net/socket_stream/socket_stream.cc ('k') | trunk/src/net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698