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

Unified Diff: components/cronet/ios/cronet_environment.h

Issue 2760073002: [cronet] Expose API to set experimental options (Closed)
Patch Set: sync Created 3 years, 8 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
« no previous file with comments | « components/cronet/ios/Cronet.mm ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/cronet_environment.h
diff --git a/components/cronet/ios/cronet_environment.h b/components/cronet/ios/cronet_environment.h
index 59cb79627eaae374f1637f011f475303f506227b..a419c2b6a0fae8777a43f434bc3e11ef9ae8a582 100644
--- a/components/cronet/ios/cronet_environment.h
+++ b/components/cronet/ios/cronet_environment.h
@@ -91,6 +91,10 @@ class CronetEnvironment {
http_cache_ = http_cache;
}
+ void set_experimental_options(const std::string& experimental_options) {
+ experimental_options_ = experimental_options;
+ }
+
void SetHostResolverRules(const std::string& host_resolver_rules);
void set_ssl_key_log_file_name(const std::string& ssl_key_log_file_name) {
@@ -134,6 +138,7 @@ class CronetEnvironment {
bool quic_enabled_;
std::string quic_user_agent_id_;
std::string accept_language_;
+ std::string experimental_options_;
std::string ssl_key_log_file_name_;
URLRequestContextConfig::HttpCacheType http_cache_;
« no previous file with comments | « components/cronet/ios/Cronet.mm ('k') | components/cronet/ios/cronet_environment.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698