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

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..152d5c5288c36aab84d14c26ca75ec99c7c62c80 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();
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
tyoshino (SeeGerritForStatus) 2013/05/15 04:29:34 a spdy -> A SPDY
yhirano 2013/05/15 06:09:52 Done.
+ 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