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

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

Issue 2665703002: [cronet] Make getAcceptLanguages index a static table instead of the application bundle. (Closed)
Patch Set: move accept_languages header generation script to more appropriate location Created 3 years, 10 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/ios/test/start_cronet.mm
diff --git a/components/cronet/ios/test/start_cronet.mm b/components/cronet/ios/test/start_cronet.mm
index 4af4d223cedff5f4bdcf400567f5ff23f7f69f81..148fe5333f2101a0e5afe1e14d3f768a5b479f54 100644
--- a/components/cronet/ios/test/start_cronet.mm
+++ b/components/cronet/ios/test/start_cronet.mm
@@ -20,6 +20,7 @@ void StartCronetIfNecessary(int port) {
[Cronet setUserAgent:@"CronetTest/1.0.0.0" partial:NO];
[Cronet setHttp2Enabled:true];
[Cronet setQuicEnabled:true];
+ [Cronet setAcceptLanguages:@"en-US,en"];
[Cronet setSslKeyLogFileName:@"SSLKEYLOGFILE"];
[Cronet addQuicHint:@"test.example.com" port:443 altPort:443];
[Cronet enableTestCertVerifierForTesting];
« no previous file with comments | « components/cronet/ios/test/cronet_acceptlang_test.mm ('k') | components/cronet/tools/generate_accept_languages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698