Index: net/http/http_basic_state.h |
diff --git a/net/http/http_basic_state.h b/net/http/http_basic_state.h |
index d9d66f6ffc99ad632c26391e412f560b348d5b8c..f8f1ca58e20e6c5aa78c1810d2f26cf4c03e8d50 100644 |
--- a/net/http/http_basic_state.h |
+++ b/net/http/http_basic_state.h |
@@ -28,7 +28,8 @@ struct HttpRequestInfo; |
class NET_EXPORT_PRIVATE HttpBasicState { |
public: |
HttpBasicState(std::unique_ptr<ClientSocketHandle> connection, |
- bool using_proxy); |
+ bool using_proxy, |
+ bool http_09_on_non_default_ports_enabled); |
~HttpBasicState(); |
// Initialize() must be called before using any of the other methods. |
@@ -41,6 +42,10 @@ class NET_EXPORT_PRIVATE HttpBasicState { |
bool using_proxy() const { return using_proxy_; } |
+ bool http_09_on_non_default_ports_enabled() const { |
+ return http_09_on_non_default_ports_enabled_; |
+ } |
+ |
// Deletes |parser_| and sets it to NULL. |
void DeleteParser(); |
@@ -63,6 +68,8 @@ class NET_EXPORT_PRIVATE HttpBasicState { |
const bool using_proxy_; |
+ const bool http_09_on_non_default_ports_enabled_; |
+ |
const HttpRequestInfo* request_info_; |
DISALLOW_COPY_AND_ASSIGN(HttpBasicState); |