| Index: net/filter/filter.h
|
| diff --git a/net/filter/filter.h b/net/filter/filter.h
|
| index 6e111e18b4a26256e158d3667fa5e9b810834e55..e9df3dbc9dbc65c5dc838105051c7efd4f51d587 100644
|
| --- a/net/filter/filter.h
|
| +++ b/net/filter/filter.h
|
| @@ -153,6 +153,7 @@ class NET_EXPORT_PRIVATE Filter {
|
|
|
| // Specifies type of filters that can be created.
|
| enum FilterType {
|
| + FILTER_TYPE_BROTLI,
|
| FILTER_TYPE_DEFLATE,
|
| FILTER_TYPE_GZIP,
|
| FILTER_TYPE_GZIP_HELPING_SDCH, // Gzip possible, but pass through allowed.
|
| @@ -233,6 +234,7 @@ class NET_EXPORT_PRIVATE Filter {
|
| std::string OrderedFilterList() const;
|
|
|
| protected:
|
| + friend class BrotliUnitTest;
|
| friend class GZipUnitTest;
|
| friend class SdchFilterChainingTest;
|
| FRIEND_TEST_ALL_PREFIXES(FilterTest, ThreeFilterChain);
|
| @@ -285,6 +287,7 @@ class NET_EXPORT_PRIVATE Filter {
|
|
|
| // Helper methods for PrependNewFilter. If initialization is successful,
|
| // they return a fully initialized Filter. Otherwise, return NULL.
|
| + static Filter* InitBrotliFilter(FilterType type_id, int buffer_size);
|
| static Filter* InitGZipFilter(FilterType type_id, int buffer_size);
|
| static Filter* InitSdchFilter(FilterType type_id,
|
| const FilterContext& filter_context,
|
|
|