| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Enables the recording of metrics reports but disables reporting. In contrast | 84 // Enables the recording of metrics reports but disables reporting. In contrast |
| 85 // to kDisableMetrics, this executes all the code that a normal client would | 85 // to kDisableMetrics, this executes all the code that a normal client would |
| 86 // use for reporting, except the report is dropped rather than sent to the | 86 // use for reporting, except the report is dropped rather than sent to the |
| 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. |
| 95 const char kIOSHostResolverRules[] = "host-resolver-rules"; |
| 96 |
| 94 } // namespace switches | 97 } // namespace switches |
| OLD | NEW |