Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index f57bc395a0eb16e6b0e6966ac96c5461a152ea8d..eb8f16ad4e32f5024745315f7c346337f03cbb66 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -198,6 +198,8 @@ class IOThread : public content::BrowserThreadDelegate { |
Optional<bool> enable_npn; |
+ Optional<bool> enable_brotli; |
+ |
Optional<bool> enable_quic; |
Optional<bool> enable_quic_for_proxies; |
Optional<bool> enable_quic_port_selection; |
@@ -341,6 +343,10 @@ chrome::android::ExternalDataUseObserver* external_data_use_observer() const { |
return NULL; |
#endif |
} |
+ |
+ // Returns true if Brotli Content-Encoding should be enabled. |
+ static bool ShouldEnableBrotli(const base::CommandLine& command_line); |
+ |
// Configures QUIC options in |globals| based on the flags in |command_line| |
// as well as the QUIC field trial group and parameters. Must be called |
// before ConfigureSpdyGlobals. |