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

Unified Diff: content/browser/renderer_host/socket_stream_host.cc

Issue 6873029: Apply HSTS rules to also upgrade ws:// -> wss:// if appropriate. This avoids (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | « no previous file | net/socket_stream/socket_stream_job.h » ('j') | net/socket_stream/socket_stream_job.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/socket_stream_host.cc
===================================================================
--- content/browser/renderer_host/socket_stream_host.cc (revision 81709)
+++ content/browser/renderer_host/socket_stream_host.cc (working copy)
@@ -47,7 +47,8 @@
void SocketStreamHost::Connect(const GURL& url,
net::URLRequestContext* request_context) {
VLOG(1) << "SocketStreamHost::Connect url=" << url;
- socket_ = net::SocketStreamJob::CreateSocketStreamJob(url, delegate_);
+ socket_ = net::SocketStreamJob::CreateSocketStreamJob(
+ url, delegate_, *request_context);
socket_->set_context(request_context);
socket_->SetUserData(kSocketIdKey, new SocketStreamId(socket_id_));
socket_->Connect();
« no previous file with comments | « no previous file | net/socket_stream/socket_stream_job.h » ('j') | net/socket_stream/socket_stream_job.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698