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

Unified Diff: net/http/http_network_transaction.h

Issue 14813024: Introduce RequestWebSocketStream into HttpStreamFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename delegate functions. 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
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | net/http/http_stream_factory.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 23c8e67436fb601c8789721ce26cab5daabe3ac2..aafe5ddf7b5398d98587402551ab43135f50a7ad 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -24,11 +24,13 @@
namespace net {
+class ClientSocketHandle;
class HttpAuthController;
class HttpNetworkSession;
class HttpStreamBase;
class HttpStreamRequest;
class IOBuffer;
+class SpdySession;
struct HttpRequestInfo;
class NET_EXPORT_PRIVATE HttpNetworkTransaction
@@ -69,6 +71,13 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
virtual void OnStreamReady(const SSLConfig& used_ssl_config,
const ProxyInfo& used_proxy_info,
HttpStreamBase* stream) OVERRIDE;
+ virtual void OnSocketReadyForWebSocket(
+ const SSLConfig& used_ssl_config,
+ const ProxyInfo& used_proxy_info,
+ ClientSocketHandle* connection) OVERRIDE;
+ virtual void OnSpdySessionReadyForWebSocket(const SSLConfig& used_ssl_config,
+ const ProxyInfo& used_proxy_info,
+ SpdySession* session) OVERRIDE;
virtual void OnStreamFailed(int status,
const SSLConfig& used_ssl_config) OVERRIDE;
virtual void OnCertificateError(int status,
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | net/http/http_stream_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698