Commit 7ca21d22 authored by Archana Simha's avatar Archana Simha Committed by Commit Bot

[Extensions Metrics] Record time spent on chrome://extensions page.

Records Extensions.Checkup.TimeSpent when the ExtensionsCheckup feature is disabled so that we can compare the behavior of the experiment and control groups.


Bug: 1034541
Change-Id: I58213193bc4d24ba1a2c832c69885fd62ed882e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083744Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Archana Simha <archanasimha@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746914}
parent b46532dd
...@@ -399,8 +399,7 @@ ExtensionsUI::ExtensionsUI(content::WebUI* web_ui) ...@@ -399,8 +399,7 @@ ExtensionsUI::ExtensionsUI(content::WebUI* web_ui)
} }
ExtensionsUI::~ExtensionsUI() { ExtensionsUI::~ExtensionsUI() {
if (timer_.has_value() && if (timer_.has_value())
base::FeatureList::IsEnabled(extensions_features::kExtensionsCheckup))
UMA_HISTOGRAM_LONG_TIMES("Extensions.Checkup.TimeSpent", timer_->Elapsed()); UMA_HISTOGRAM_LONG_TIMES("Extensions.Checkup.TimeSpent", timer_->Elapsed());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment