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

Unified Diff: components/cronet/ios/test/start_cronet.mm

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/test/cronet_http_test.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/ios/test/start_cronet.mm
diff --git a/components/cronet/ios/test/start_cronet.mm b/components/cronet/ios/test/start_cronet.mm
index 148fe5333f2101a0e5afe1e14d3f768a5b479f54..957e26e4d778a983592abd8b57ff034907aae184 100644
--- a/components/cronet/ios/test/start_cronet.mm
+++ b/components/cronet/ios/test/start_cronet.mm
@@ -21,7 +21,12 @@ void StartCronetIfNecessary(int port) {
[Cronet setHttp2Enabled:true];
[Cronet setQuicEnabled:true];
[Cronet setAcceptLanguages:@"en-US,en"];
- [Cronet setSslKeyLogFileName:@"SSLKEYLOGFILE"];
+ [Cronet
+ setExperimentalOptions:
+ [NSString
+ stringWithFormat:@"{\"ssl_key_log_file\":\"%@\"}",
+ [Cronet
+ getNetLogPathForFile:@"SSLKEYLOGFILE"]]];
[Cronet addQuicHint:@"test.example.com" port:443 altPort:443];
[Cronet enableTestCertVerifierForTesting];
[Cronet start];
« no previous file with comments | « components/cronet/ios/test/cronet_http_test.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698