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

Unified Diff: ios/chrome/browser/chrome_switches.cc

Issue 1421733002: Introduce IOSChromeMetricsServicesManagerClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git add client Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/chrome_switches.cc
diff --git a/ios/chrome/browser/chrome_switches.cc b/ios/chrome/browser/chrome_switches.cc
index 705afcd9bad5f2da87b749504a001f6cfb7197a4..9105c70696842fc670654439ac63e5c17e0bb4e2 100644
--- a/ios/chrome/browser/chrome_switches.cc
+++ b/ios/chrome/browser/chrome_switches.cc
@@ -34,4 +34,11 @@ const char kEnableReaderModeToolbarIcon[] = "enable-reader-mode-toolbar-icon";
// Disables support for keyboard commands.
const char kDisableKeyboardCommands[] = "disable-keyboard-commands";
+// Enables the recording of metrics reports but disables reporting. In contrast
+// to kDisableMetrics, this executes all the code that a normal client would
+// use for reporting, except the report is dropped rather than sent to the
+// server. This is useful for finding issues in the metrics code during UI and
+// performance tests.
+const char kIOSMetricsRecordingOnly[] = "metrics-recording-only";
+
} // namespace switches
« no previous file with comments | « ios/chrome/browser/chrome_switches.h ('k') | ios/chrome/browser/metrics/ios_chrome_metrics_service_accessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698