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

Unified Diff: components/cronet/url_request_context_config.h

Issue 1487723002: [Cronet] Replace setExperimentalQuicConnectionOptions with a more general API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years, 1 month 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 7389811a88355e8ce6e5eaed8d5a30fa78b2fe43..7953d2d8075fd7cf407ff6d8db7c6180fa88274d 100644
--- a/components/cronet/url_request_context_config.h
+++ b/components/cronet/url_request_context_config.h
@@ -75,8 +75,13 @@ struct URLRequestContextConfig {
std::string user_agent;
// App-provided list of servers that support QUIC.
ScopedVector<QuicHint> quic_hints;
- // Comma-separated list of QUIC connection options.
- std::string quic_connection_options;
+ // Experimental options encoded as a string in a JSON format containing
+ // experiments and their corresponding configuration options. The format
+ // is a JSON object with the name of the experiment as the key, and the
+ // configuration options as the value. An example:
+ // {"experiment1": {"option1": "option_value1", "option2": "option_value2",
+ // ...}, "experiment2: {"option3", "option_value3", ...}, ...}
+ std::string experimental_options;
// Enable Data Reduction Proxy with authentication key.
std::string data_reduction_proxy_key;
std::string data_reduction_primary_proxy;

Powered by Google App Engine
This is Rietveld 408576698