Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: components/metrics/metrics_switches.cc

Issue 2933953002: Make --enable-benchmarking not affect metrics recording. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « components/metrics/metrics_switches.h ('k') | components/metrics_services_manager/metrics_services_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698