summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_stream_factory.h')
-rw-r--r--net/http/http_stream_factory.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index 9268746..3d3bada 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -135,6 +135,9 @@ class HttpStreamRequest {
// Returns the LoadState for the request.
virtual LoadState GetLoadState() const = 0;
+ // Returns true if an AlternateProtocol for this request was available.
+ virtual bool was_alternate_protocol_available() const = 0;
+
// Returns true if TLS/NPN was negotiated for this stream.
virtual bool was_npn_negotiated() const = 0;
@@ -168,8 +171,8 @@ class HttpStreamFactory {
const SSLConfig& ssl_config,
const BoundNetLog& net_log) = 0;
- virtual void AddTLSIntolerantServer(const HostPortPair& server) = 0;
- virtual bool IsTLSIntolerantServer(const HostPortPair& server) const = 0;
+ virtual void AddTLSIntolerantServer(const GURL& url) = 0;
+ virtual bool IsTLSIntolerantServer(const GURL& url) const = 0;
// Static settings
static GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint);