Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: net/filter/filter.h

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/filter/filter.h
diff --git a/net/filter/filter.h b/net/filter/filter.h
index 1904a8cdbb957be08b6baf3ef509d56a130a31ec..0b00e6c5468efb4e2b39cb69610183159ea37fab 100644
--- a/net/filter/filter.h
+++ b/net/filter/filter.h
@@ -151,6 +151,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.
@@ -231,6 +232,8 @@ class NET_EXPORT_PRIVATE Filter {
std::string OrderedFilterList() const;
protected:
+ friend class BrotliFilter;
+ friend class BrotliUnitTest;
friend class GZipUnitTest;
friend class SdchFilterChainingTest;
FRIEND_TEST_ALL_PREFIXES(FilterTest, ThreeFilterChain);

Powered by Google App Engine
This is Rietveld 408576698