OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/metrics/metrics_switches.h" | 5 #include "components/metrics/metrics_switches.h" |
6 | 6 |
7 namespace metrics { | 7 namespace metrics { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
| 10 // Enables the recording of metrics reports but disables reporting. In contrast |
| 11 // to kDisableMetrics, this executes all the code that a normal client would |
| 12 // use for reporting, except the report is dropped rather than sent to the |
| 13 // server. This is useful for finding issues in the metrics code during UI and |
| 14 // performance tests. |
| 15 const char kMetricsRecordingOnly[] = "metrics-recording-only"; |
| 16 |
10 // Forces a reset of the one-time-randomized FieldTrials on this client, also | 17 // Forces a reset of the one-time-randomized FieldTrials on this client, also |
11 // known as the Chrome Variations state. | 18 // known as the Chrome Variations state. |
12 const char kResetVariationState[] = "reset-variation-state"; | 19 const char kResetVariationState[] = "reset-variation-state"; |
13 | 20 |
14 } // namespace switches | 21 } // namespace switches |
15 } // namespace metrics | 22 } // namespace metrics |
OLD | NEW |