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

Unified Diff: components/cronet/url_request_context_config.h

Issue 937513003: Add Data Saver support to Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
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 30530f5d81771a461fddb50a746a0a55d8a4d4b8..7d4b612e28aa294e96e979f0b85e6bf60130a7e5 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -74,6 +74,9 @@ struct URLRequestContextConfig {
ScopedVector<QuicHint> quic_hints;
// Comma-separted list of QUIC connection options.
std::string quic_connection_options;
+ // Enable Data Saver with authentication key.
+ bool enable_data_saver;
+ std::string data_saver_key;
private:
DISALLOW_COPY_AND_ASSIGN(URLRequestContextConfig);

Powered by Google App Engine
This is Rietveld 408576698