Index: net/http/http_stream_factory.h |
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h |
index be28c0f13c5998cdd98ca93f0a41a33c2b29d26d..2c8826a69c0d9fc47eb9773ef5c6edfe6edeb657 100644 |
--- a/net/http/http_stream_factory.h |
+++ b/net/http/http_stream_factory.h |
@@ -203,7 +203,7 @@ class NET_EXPORT HttpStreamFactory { |
// Request a stream. |
// Will call delegate->OnStreamReady on successful completion. |
- virtual HttpStreamRequest* RequestStream( |
+ virtual std::unique_ptr<HttpStreamRequest> RequestStream( |
const HttpRequestInfo& info, |
RequestPriority priority, |
const SSLConfig& server_ssl_config, |
@@ -216,7 +216,7 @@ class NET_EXPORT HttpStreamFactory { |
// Request a WebSocket handshake stream. |
// Will call delegate->OnWebSocketHandshakeStreamReady on successful |
// completion. |
- virtual HttpStreamRequest* RequestWebSocketHandshakeStream( |
+ virtual std::unique_ptr<HttpStreamRequest> RequestWebSocketHandshakeStream( |
const HttpRequestInfo& info, |
RequestPriority priority, |
const SSLConfig& server_ssl_config, |
@@ -230,7 +230,7 @@ class NET_EXPORT HttpStreamFactory { |
// Request a BidirectionalStreamImpl. |
// Will call delegate->OnBidirectionalStreamImplReady on successful |
// completion. |
- virtual HttpStreamRequest* RequestBidirectionalStreamImpl( |
+ virtual std::unique_ptr<HttpStreamRequest> RequestBidirectionalStreamImpl( |
const HttpRequestInfo& info, |
RequestPriority priority, |
const SSLConfig& server_ssl_config, |