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

Unified Diff: chrome/browser/about_flags.cc

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index f954b05769264d0bff3c261e707f13b55abd8403..cd0b1e811473ed90d280f5926012019d81a8724b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -55,6 +55,7 @@
#include "grit/components_strings.h"
#include "media/base/media_switches.h"
#include "media/midi/midi_switches.h"
+#include "net/http/http_features.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/ui_base_switches.h"
#include "ui/display/display_switches.h"
@@ -2020,6 +2021,13 @@ const FeatureEntry kFeatureEntries[] = {
ENABLE_DISABLE_VALUE_TYPE(switches::kEnableAppContainer,
switches::kDisableAppContainer)},
#endif // defined(OS_WIN)
+#if !defined(DISABLE_BROTLI_SUPPORT)
Ryan Sleevi 2015/12/17 01:04:40 BUG: Please review https://groups.google.com/a/chr
eustas 2015/12/17 16:44:54 All 3 exmaples of buildflag look simple - I don't
Ryan Sleevi 2015/12/17 22:49:33 That's not possible today either. That's part of w
+ {"enable-brotli",
+ IDS_FLAGS_ENABLE_BROTLI_NAME,
+ IDS_FLAGS_ENABLE_BROTLI_DESCRIPTION,
+ kOsAll,
+ FEATURE_VALUE_TYPE(net::features::kBrotliEncodingFeature)},
+#endif // !defined(DISABLE_BROTLI_SUPPORT)
#if defined(OS_ANDROID)
{"disable-auto-hiding-toolbar-threshold",
IDS_FLAGS_DISABLE_AUTO_HIDING_TOOLBAR_NAME,

Powered by Google App Engine
This is Rietveld 408576698