diff options
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index e4eef52..80957bf 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -103,6 +103,12 @@ class HttpNetworkTransaction : public HttpTransaction { kSOCKSProxy, // If using a SOCKS proxy }; + enum AlternateProtocolMode { + kUnspecified, // Unspecified, check HttpAlternateProtocols + kUsingAlternateProtocol, // Using an alternate protocol + kDoNotUseAlternateProtocol, // Failed to connect once, do not try again. + }; + void DoCallback(int result); void OnIOComplete(int result); @@ -321,6 +327,9 @@ class HttpNetworkTransaction : public HttpTransaction { // True if this network transaction is using SPDY instead of HTTP. bool using_spdy_; + // True if this network transaction is using an alternate protocol to connect. + AlternateProtocolMode alternate_protocol_mode_; + // True if we've used the username/password embedded in the URL. This // makes sure we use the embedded identity only once for the transaction, // preventing an infinite auth restart loop. |