Index: net/quic/quic_http_stream.cc |
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc |
index b22fb93300b7780d895bdf2a88c8e9fa5e0d9fee..d61a30395658ff92e8dfc653b9b4b463ae9f789b 100644 |
--- a/net/quic/quic_http_stream.cc |
+++ b/net/quic/quic_http_stream.cc |
@@ -111,7 +111,8 @@ int QuicHttpStream::SendRequest(const HttpRequestHeaders& request_headers, |
// TODO(rch): remove this once we figure out why channel ID is not being |
// sent when it should be. |
HostPortPair origin = HostPortPair::FromURL(request_info_->url); |
- if (origin.Equals(HostPortPair("accounts.google.com", 443))) { |
+ if (origin.Equals(HostPortPair("accounts.google.com", 443)) && |
+ request_headers.HasHeader(HttpRequestHeaders::kCookie)) { |
SSLInfo ssl_info; |
bool secure_session = |
session_->GetSSLInfo(&ssl_info) && ssl_info.cert.get(); |