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

Unified Diff: net/socket_stream/socket_stream_job.h

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: net/socket_stream/socket_stream_job.h
===================================================================
--- net/socket_stream/socket_stream_job.h (revision 81709)
+++ net/socket_stream/socket_stream_job.h (working copy)
@@ -32,7 +32,9 @@
ProtocolFactory* factory);
static SocketStreamJob* CreateSocketStreamJob(
- const GURL& url, SocketStream::Delegate* delegate);
+ const GURL& url,
+ SocketStream::Delegate* delegate,
+ const URLRequestContext& context);
willchan no longer on Chromium 2011/04/29 19:09:46 Please pass in the exact dependencies. I'm trying
SocketStreamJob();
void InitSocketStream(SocketStream* socket) {
@@ -61,6 +63,7 @@
virtual void DetachDelegate();
protected:
+ friend class WebSocketJobTest;
friend class base::RefCountedThreadSafe<SocketStreamJob>;
virtual ~SocketStreamJob();

Powered by Google App Engine
This is Rietveld 408576698