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

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 14813024: Introduce RequestWebSocketStream into HttpStreamFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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/http/http_stream_factory_impl_job.h
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h
index 6e7d47bf97eb0674df3101985025c1994198fde2..70f5beec61f8ddf0bac8c7b62394ed4c60e00c73 100644
--- a/net/http/http_stream_factory_impl_job.h
+++ b/net/http/http_stream_factory_impl_job.h
@@ -126,6 +126,8 @@ class HttpStreamFactoryImpl::Job {
};
void OnStreamReadyCallback();
+ void OnSpdySessionReadyForWSCallback();
+ void OnSocketReadyCallback();
mmenke 2013/05/15 15:38:20 nit: You have the socket function first everywher
yhirano 2013/05/16 05:02:35 Done.
void OnSpdySessionReadyCallback();
void OnStreamFailedCallback(int result);
void OnCertificateErrorCallback(int result, const SSLInfo& ssl_info);
@@ -308,6 +310,9 @@ class HttpStreamFactoryImpl::Job {
// Initialized when we have an existing SpdySession.
scoped_refptr<SpdySession> existing_spdy_session_;
+ // A SPDY session to pass to OnSpdySessionReadyForWSCallback
+ scoped_refptr<SpdySession> spdy_session_to_pass_;
+
// Only used if |new_spdy_session_| is non-NULL.
bool spdy_session_direct_;

Powered by Google App Engine
This is Rietveld 408576698