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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Enables the use of WKWebView instead of UIWebView. | 28 // Enables the use of WKWebView instead of UIWebView. |
29 const char kEnableIOSWKWebView[] = "enable-wkwebview"; | 29 const char kEnableIOSWKWebView[] = "enable-wkwebview"; |
30 | 30 |
31 // Enables context-sensitive reader mode button in the toolbar. | 31 // Enables context-sensitive reader mode button in the toolbar. |
32 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; | 32 const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon"; |
33 | 33 |
34 // Disables support for keyboard commands. | 34 // Disables support for keyboard commands. |
35 const char kDisableKeyboardCommands[] = "disable-keyboard-commands"; | 35 const char kDisableKeyboardCommands[] = "disable-keyboard-commands"; |
36 | 36 |
| 37 // Enables the recording of metrics reports but disables reporting. In contrast |
| 38 // to kDisableMetrics, this executes all the code that a normal client would |
| 39 // use for reporting, except the report is dropped rather than sent to the |
| 40 // server. This is useful for finding issues in the metrics code during UI and |
| 41 // performance tests. |
| 42 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; |
| 43 |
37 } // namespace switches | 44 } // namespace switches |
OLD | NEW |