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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h

Issue 2566773002: Add Brotli to Accept Encoding header for secure DRP requests (Closed)
Patch Set: Fix test Created 4 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: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index bfdf16ec72c8051f75b1f741bbce1cee252964e0..07a8aab9ea8b3c03fcc4349cd627497d46e32adc 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -116,6 +116,9 @@ const char* GetQuicFieldTrialName();
// Returns true if zero RTT for QUIC is enabled.
bool IsZeroRttQuicEnabled();
+// Returns true if Brotli should be added to the accept-encoding header.
+bool IsBrotliAcceptEncodingEnabled();
+
// Returns true if the Data Reduction Proxy config client should be used.
bool IsConfigClientEnabled();

Powered by Google App Engine
This is Rietveld 408576698