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

Unified Diff: net/http/http_network_session.h

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added BrotliSlowRead to u_r_j_unittest 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: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index f250ccae1bcbbf6951f842b7cda49639282f8246..8908d28c8f44edf06a39ec0353fa8799232154a6 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -114,6 +114,9 @@ class NET_EXPORT HttpNetworkSession
// Enables NPN support. Note that ALPN is always enabled.
bool enable_npn;
+ // Enables Brotli Content-Encoding support.
+ bool enable_brotli;
+
// Enables QUIC support.
bool enable_quic;
// Enables QUIC for proxies.

Powered by Google App Engine
This is Rietveld 408576698