| Index: net/url_request/url_request_context.h
|
| diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
|
| index 045905a072a445db0bde4b4140b3962b1bb1070c..7aa3351d6d457fa755de8442e4fc75972bc9a9dc 100644
|
| --- a/net/url_request/url_request_context.h
|
| +++ b/net/url_request/url_request_context.h
|
| @@ -235,6 +235,10 @@ class NET_EXPORT URLRequestContext
|
| has_known_mismatched_cookie_store_ = true;
|
| }
|
|
|
| + void set_enable_brotli(bool enable_brotli) { enable_brotli_ = enable_brotli; }
|
| +
|
| + bool enable_brotli() const { return enable_brotli_; }
|
| +
|
| private:
|
| // ---------------------------------------------------------------------------
|
| // Important: When adding any new members below, consider whether they need to
|
| @@ -271,6 +275,9 @@ class NET_EXPORT URLRequestContext
|
| std::unique_ptr<std::set<const URLRequest*>> url_requests_;
|
| bool has_known_mismatched_cookie_store_;
|
|
|
| + // Enables Brotli Content-Encoding support.
|
| + bool enable_brotli_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
|
| };
|
|
|
|
|