Remove the EnableBenchmarking histogram.
This was introduced here http://src.chromium.org/viewvc/chrome?view=rev&revision=166280 and is no longer used.
Review URL: https://chromiumcodereview.appspot.com/13686007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193119 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index ddf00ea6..1918b32 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -675,18 +675,13 @@
void ChromeBrowserMainParts::StartMetricsRecording() {
MetricsService* metrics = g_browser_process->metrics_service();
- const bool enable_benchmarking =
- parsed_command_line_.HasSwitch(switches::kEnableBenchmarking);
- // TODO(stevet): This is a temporary histogram used to investigate an issue
- // with logging. Remove this when investigations are complete.
- UMA_HISTOGRAM_BOOLEAN("UMA.FieldTrialsEnabledBenchmarking",
- enable_benchmarking);
// TODO(miu): Metrics reporting is disabled in DEBUG builds until ill-fired
// DCHECKs are fixed, and/or we reconsider whether metrics reporting should
// really ever be enabled for debug builds. http://crbug.com/156979
#if defined(NDEBUG)
- const bool only_do_metrics_recording = enable_benchmarking ||
- parsed_command_line_.HasSwitch(switches::kMetricsRecordingOnly);
+ const bool only_do_metrics_recording =
+ parsed_command_line_.HasSwitch(switches::kMetricsRecordingOnly) ||
+ parsed_command_line_.HasSwitch(switches::kEnableBenchmarking);
#else
const bool only_do_metrics_recording = true;
#endif