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

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: Rebaseline 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 e8a93a001204bd271d77aa093a1b8008b21d834a..e2eeea50ee0da244a170717210af05ae88486007 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -57,6 +57,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"
@@ -2083,6 +2084,11 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_EXPERIMENTAL_FRAMEWORK_DESCRIPTION,
kOsAll,
FEATURE_VALUE_TYPE(features::kExperimentalFramework)},
+ {"enable-brotli",
+ IDS_FLAGS_ENABLE_BROTLI_NAME,
+ IDS_FLAGS_ENABLE_BROTLI_DESCRIPTION,
+ kOsAll,
+ FEATURE_VALUE_TYPE(net::features::kBrotliEncodingFeature)},
#if defined(OS_ANDROID)
{"enable-unified-media-pipeline",
IDS_FLAGS_ENABLE_UNIFIED_MEDIA_PIPELINE_NAME,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/io_thread.h » ('j') | net/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698