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 9c13a8f3a6661ece0b456762a497124fe3e6867b..39862982e048b6ef478f2fdc836ad33d54c081ef 100644 |
--- a/net/socket_stream/socket_stream_job.cc |
+++ b/net/socket_stream/socket_stream_job.cc |
@@ -27,8 +27,11 @@ SocketStreamJob* SocketStreamJob::CreateSocketStreamJob( |
SSLConfigService* ssl) { |
GURL socket_url(url); |
TransportSecurityState::DomainState domain_state; |
- if (url.scheme() == "ws" && sts && sts->GetDomainState( |
- url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) && |
+ if (url.scheme() == "ws" && sts && |
+ sts->GetDomainState(url.host(), |
+ SSLConfigService::IsSNIAvailable(ssl), |
+ delegate->CanGetCookies(NULL, url), |
Ryan Sleevi
2013/08/06 22:32:11
See remark about url needing to be scheme-fixed.
mef
2013/08/09 17:04:05
Sorry, could you elaborate a little? I'm sure you
Ryan Sleevi
2013/09/13 22:14:48
Well, rather than having StreamSocket::CreateSocke
mef
2013/09/16 15:00:08
Hmm, higher level from here is SocketStreamHost an
Ryan Sleevi
2013/09/17 18:53:03
Well, the only implementation that would/should ha
|
+ &domain_state) && |
domain_state.ShouldUpgradeToSSL()) { |
url_canon::Replacements<char> replacements; |
static const char kNewScheme[] = "wss"; |