| Index: net/quic/quic_stream_factory.h
|
| diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
|
| index fd317d669d690757c537aae0a95b21f20f763961..8ce70a9b6703e307282519e631be0bc6d7b4b84e 100644
|
| --- a/net/quic/quic_stream_factory.h
|
| +++ b/net/quic/quic_stream_factory.h
|
| @@ -23,6 +23,7 @@
|
| #include "net/base/host_port_pair.h"
|
| #include "net/base/network_change_notifier.h"
|
| #include "net/cert/cert_database.h"
|
| +#include "net/http/http_server_properties.h"
|
| #include "net/log/net_log.h"
|
| #include "net/proxy/proxy_server.h"
|
| #include "net/quic/network_connection.h"
|
| @@ -151,6 +152,12 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
|
| const QuicTagVector& connection_options);
|
| ~QuicStreamFactory() override;
|
|
|
| + // Returns true if there is an existing session to |server_id| which can be
|
| + // used for request to |origin_host|.
|
| + bool CanUseExistingSession(QuicServerId server_id,
|
| + PrivacyMode privacy_mode,
|
| + StringPiece origin_host);
|
| +
|
| // Creates a new QuicHttpStream to |host_port_pair| which will be
|
| // owned by |request|.
|
| // If a matching session already exists, this method will return OK. If no
|
|
|