| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; | 91 const char kEnableIOSPhysicalWeb[] = "enable-ios-physical-web"; |
| 92 | 92 |
| 93 // Enables the Suggestions UI | 93 // Enables the Suggestions UI |
| 94 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; | 94 const char kEnableSuggestionsUI[] = "enable-suggestions-ui"; |
| 95 | 95 |
| 96 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data | 96 // Forces additional Chrome Variation Ids that will be sent in X-Client-Data |
| 97 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids | 97 // header, specified as a 64-bit encoded list of numeric experiment ids. Ids |
| 98 // prefixed with the character "t" will be treated as Trigger Variation Ids. | 98 // prefixed with the character "t" will be treated as Trigger Variation Ids. |
| 99 const char kIOSForceVariationIds[] = "force-variation-ids"; | 99 const char kIOSForceVariationIds[] = "force-variation-ids"; |
| 100 | 100 |
| 101 // Enables the recording of metrics reports but disables reporting. In contrast | |
| 102 // to kDisableMetrics, this executes all the code that a normal client would | |
| 103 // use for reporting, except the report is dropped rather than sent to the | |
| 104 // server. This is useful for finding issues in the metrics code during UI and | |
| 105 // performance tests. | |
| 106 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; | |
| 107 | |
| 108 // A string used to override the default user agent with a custom one. | 101 // A string used to override the default user agent with a custom one. |
| 109 const char kUserAgent[] = "user-agent"; | 102 const char kUserAgent[] = "user-agent"; |
| 110 | 103 |
| 111 // These mappings only apply to the host resolver. | 104 // These mappings only apply to the host resolver. |
| 112 const char kIOSHostResolverRules[] = "host-resolver-rules"; | 105 const char kIOSHostResolverRules[] = "host-resolver-rules"; |
| 113 | 106 |
| 114 // Ignores certificate-related errors. | 107 // Ignores certificate-related errors. |
| 115 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 108 const char kIOSIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 116 | 109 |
| 117 // Allows for forcing socket connections to http/https to use fixed ports. | 110 // Allows for forcing socket connections to http/https to use fixed ports. |
| 118 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; | 111 const char kIOSTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 119 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 112 const char kIOSTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 120 | 113 |
| 121 } // namespace switches | 114 } // namespace switches |
| OLD | NEW |