| Index: net/http/http_stream_factory_impl.h
|
| diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
|
| index 62d672efce9e16cdedd03dc258e9cf14fdff12f7..7fb6e756b7017d5b7413059b3cf3b940d8c17db2 100644
|
| --- a/net/http/http_stream_factory_impl.h
|
| +++ b/net/http/http_stream_factory_impl.h
|
| @@ -8,6 +8,7 @@
|
| #include <stddef.h>
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <set>
|
|
|
| #include "base/gtest_prod_util.h"
|
| @@ -43,16 +44,17 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
| ~HttpStreamFactoryImpl() override;
|
|
|
| // HttpStreamFactory interface
|
| - HttpStreamRequest* RequestStream(const HttpRequestInfo& info,
|
| - RequestPriority priority,
|
| - const SSLConfig& server_ssl_config,
|
| - const SSLConfig& proxy_ssl_config,
|
| - HttpStreamRequest::Delegate* delegate,
|
| - bool enable_ip_based_pooling,
|
| - bool enable_alternative_services,
|
| - const NetLogWithSource& net_log) override;
|
| -
|
| - HttpStreamRequest* RequestWebSocketHandshakeStream(
|
| + std::unique_ptr<HttpStreamRequest> RequestStream(
|
| + const HttpRequestInfo& info,
|
| + RequestPriority priority,
|
| + const SSLConfig& server_ssl_config,
|
| + const SSLConfig& proxy_ssl_config,
|
| + HttpStreamRequest::Delegate* delegate,
|
| + bool enable_ip_based_pooling,
|
| + bool enable_alternative_services,
|
| + const NetLogWithSource& net_log) override;
|
| +
|
| + std::unique_ptr<HttpStreamRequest> RequestWebSocketHandshakeStream(
|
| const HttpRequestInfo& info,
|
| RequestPriority priority,
|
| const SSLConfig& server_ssl_config,
|
| @@ -63,7 +65,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
| bool enable_alternative_services,
|
| const NetLogWithSource& net_log) override;
|
|
|
| - HttpStreamRequest* RequestBidirectionalStreamImpl(
|
| + std::unique_ptr<HttpStreamRequest> RequestBidirectionalStreamImpl(
|
| const HttpRequestInfo& info,
|
| RequestPriority priority,
|
| const SSLConfig& server_ssl_config,
|
| @@ -119,7 +121,7 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
|
| MAX_ALTERNATIVE_SERVICE_TYPE
|
| };
|
|
|
| - HttpStreamRequest* RequestStreamInternal(
|
| + std::unique_ptr<HttpStreamRequest> RequestStreamInternal(
|
| const HttpRequestInfo& info,
|
| RequestPriority priority,
|
| const SSLConfig& server_ssl_config,
|
|
|