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

Unified Diff: components/cronet/url_request_context_config.h

Issue 2805053005: [Cronet] Enable Brotli (Closed)
Patch Set: restore 0x03 in test Created 3 years, 8 months 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 | « components/cronet/tools/cr_cronet.py ('k') | components/cronet/url_request_context_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/url_request_context_config.h
diff --git a/components/cronet/url_request_context_config.h b/components/cronet/url_request_context_config.h
index 69e1b809bb1e0d73d6bf34e5095ba0f0333708e1..ce39823674a3df04444ce4439fe8e8a26c752ea7 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -87,6 +87,8 @@ struct URLRequestContextConfig {
bool enable_spdy,
// Enable SDCH.
bool enable_sdch,
+ // Enable Brotli.
+ bool enable_brotli,
// Type of http cache.
HttpCacheType http_cache,
// Max size of http cache in bytes.
@@ -132,6 +134,8 @@ struct URLRequestContextConfig {
const bool enable_spdy;
// Enable SDCH.
const bool enable_sdch;
+ // Enable Brotli.
+ const bool enable_brotli;
// Type of http cache.
const HttpCacheType http_cache;
// Max size of http cache in bytes.
@@ -201,6 +205,8 @@ struct URLRequestContextConfigBuilder {
bool enable_spdy = true;
// Enable SDCH.
bool enable_sdch = false;
+ // Enable Brotli.
+ bool enable_brotli = false;
// Type of http cache.
URLRequestContextConfig::HttpCacheType http_cache =
URLRequestContextConfig::DISABLED;
« no previous file with comments | « components/cronet/tools/cr_cronet.py ('k') | components/cronet/url_request_context_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698