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

Unified Diff: webkit/tools/test_shell/simple_socket_stream_bridge.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
Index: webkit/tools/test_shell/simple_socket_stream_bridge.cc
===================================================================
--- webkit/tools/test_shell/simple_socket_stream_bridge.cc (revision 81709)
+++ webkit/tools/test_shell/simple_socket_stream_bridge.cc (working copy)
@@ -156,7 +156,8 @@
void WebSocketStreamHandleBridgeImpl::DoConnect(const GURL& url) {
DCHECK(MessageLoop::current() == g_io_thread);
- socket_ = net::SocketStreamJob::CreateSocketStreamJob(url, this);
+ socket_ = net::SocketStreamJob::CreateSocketStreamJob(
+ url, this, *g_request_context);
socket_->set_context(g_request_context);
socket_->Connect();
}
« net/url_request/url_request_context.cc ('K') | « net/websockets/websocket_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698