| 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 13 matching lines...) Expand all Loading... |
| 24 // Disables support for keyboard commands. | 24 // Disables support for keyboard commands. |
| 25 const char kDisableKeyboardCommands[] = "disable-keyboard-commands"; | 25 const char kDisableKeyboardCommands[] = "disable-keyboard-commands"; |
| 26 | 26 |
| 27 // Enables the recording of metrics reports but disables reporting. In contrast | 27 // Enables the recording of metrics reports but disables reporting. In contrast |
| 28 // to kDisableMetrics, this executes all the code that a normal client would | 28 // to kDisableMetrics, this executes all the code that a normal client would |
| 29 // use for reporting, except the report is dropped rather than sent to the | 29 // use for reporting, except the report is dropped rather than sent to the |
| 30 // server. This is useful for finding issues in the metrics code during UI and | 30 // server. This is useful for finding issues in the metrics code during UI and |
| 31 // performance tests. | 31 // performance tests. |
| 32 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; | 32 const char kIOSMetricsRecordingOnly[] = "metrics-recording-only"; |
| 33 | 33 |
| 34 // Disable the snapshots lru cache. |
| 35 const char kDisableLRUSnapshotCache[] = "disable-lru-snapshot-cache"; |
| 36 |
| 37 // Enables the snapshot lru cache. |
| 38 const char kEnableLRUSnapshotCache[] = "enable-lru-snapshot-cache"; |
| 39 |
| 34 } // namespace switches | 40 } // namespace switches |
| OLD | NEW |