OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ios/chrome/browser/chrome_switches.h" | 5 #include "ios/chrome/browser/chrome_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // ----------------------------------------------------------------------------- | 9 // ----------------------------------------------------------------------------- |
10 // When commenting your switch, please use the same voice as surrounding | 10 // When commenting your switch, please use the same voice as surrounding |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // server. This is useful for finding issues in the metrics code during UI and | 87 // server. This is useful for finding issues in the metrics code during UI and |
88 // performance tests. | 88 // performance tests. |
89 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; | 89 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; |
90 | 90 |
91 // A string used to override the default user agent with a custom one. | 91 // A string used to override the default user agent with a custom one. |
92 const char kUserAgent[] = "user-agent"; | 92 const char kUserAgent[] = "user-agent"; |
93 | 93 |
94 // These mappings only apply to the host resolver. | 94 // These mappings only apply to the host resolver. |
95 const char kIOSHostResolverRules[] = "host-resolver-rules"; | 95 const char kIOSHostResolverRules[] = "host-resolver-rules"; |
96 | 96 |
| 97 // Allows for forcing socket connections to http/https to use fixed ports. |
| 98 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 99 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 100 |
97 } // namespace switches | 101 } // namespace switches |
OLD | NEW |