Index: net/filter/mock_filter_context.cc |
diff --git a/net/filter/mock_filter_context.cc b/net/filter/mock_filter_context.cc |
index ebcaa1865211a033c45f201d3bbaf069d2841cdd..f2cc07cdf2b2fff16ff9758cbc50b281a8e1425b 100644 |
--- a/net/filter/mock_filter_context.cc |
+++ b/net/filter/mock_filter_context.cc |
@@ -12,8 +12,8 @@ MockFilterContext::MockFilterContext() |
: is_cached_content_(false), |
ok_to_call_get_url_(true), |
response_code_(-1), |
- context_(new URLRequestContext()) { |
-} |
+ context_(new URLRequestContext()), |
+ is_brotli_enabled_(false) {} |
MockFilterContext::~MockFilterContext() {} |
@@ -60,4 +60,8 @@ const BoundNetLog& MockFilterContext::GetNetLog() const { |
return net_log_; |
} |
+bool MockFilterContext::IsBrotliEnabled() const { |
+ return is_brotli_enabled_; |
+} |
+ |
} // namespace net |