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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add brotli reference link Created 5 years, 1 month 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c02bacc0842cba13c1dee3d3e04a1986ae3333a1..c5d718907cfd090a1164f441e778af3513266637 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1318,6 +1318,12 @@ const char kDisableAutoHidingToolbarThreshold[] =
"disable-auto-hiding-toolbar-threshold";
#endif // defined(OS_ANDROID)
+// Enables support for the Brotli Content-encoding.
xunjieli 2015/11/17 16:16:12 nit: s/Content-encoding/Content-Encoding same for
eustas 2015/11/17 17:57:20 Done.
+const char kEnableBrotli[] = "enable-brotli";
+
+// Disables support for the Brotli Content-encoding.
+const char kDisableBrotli[] = "disable-brotli";
+
bool AboutInSettingsEnabled() {
return SettingsWindowEnabled() &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(

Powered by Google App Engine
This is Rietveld 408576698