Index: net/http/http_stream.h |
diff --git a/net/http/http_stream.h b/net/http/http_stream.h |
index 3def66ee9a2dfc2d8d9fd14a4a100d85c8b09f6e..78458e4b29217b74592de319668728ade77a163c 100644 |
--- a/net/http/http_stream.h |
+++ b/net/http/http_stream.h |
@@ -30,6 +30,7 @@ class ECPrivateKey; |
namespace net { |
+struct AlternativeService; |
class HttpNetworkSession; |
class HttpRequestHeaders; |
struct HttpRequestInfo; |
@@ -150,6 +151,11 @@ class NET_EXPORT_PRIVATE HttpStream { |
// undefined. |
virtual void GetSSLInfo(SSLInfo* ssl_info) = 0; |
+ // Returns true and populates |alternative_service| if an alternative service |
+ // was used to for this stream. Otherwise returns false. |
+ virtual bool GetAlternativeService( |
+ AlternativeService* alternative_service) const = 0; |
+ |
// Get the SSLCertRequestInfo associated with this stream's connection. |
// This should only be called for streams over SSL sockets, otherwise the |
// behavior is undefined. |