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

Unified Diff: content/public/common/content_features.cc

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude brotli_filter_unittest on ios - needs to read input data files 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
« no previous file with comments | « content/public/common/content_features.h ('k') | net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 31987e0e53cac4b5539ebeb54ac1538411651d21..d01bfa8dd1a495e1bbcd7acd96f84e74f5a9c547 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -9,6 +9,11 @@ namespace features {
// All features in alphabetical order.
+// Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support.
+// Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli
+const base::Feature kBrotliEncoding = {
+ "brotli-encoding", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Downloads resumption will be controllable via a flag until it's enabled
// permanently. See https://crbug.com/7648
const base::Feature kDownloadResumption{"DownloadResumption",
« no previous file with comments | « content/public/common/content_features.h ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698