Commit 2b6df23a authored by Owen Min's avatar Owen Min Committed by Commit Bot

Change default option for EnterpriseRealtimeExtensionRequest

The feature is also behind the policy that is controlled by an admin
console's experimental. Change the flag to default on to simplify the
rollout.

Bug: 1137964
Change-Id: Ic2d02caad8b3ae9b314cbe7c06c6f74a967a8be1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532992
Commit-Queue: Owen Min <zmin@chromium.org>
Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#826905}
parent a7f5ed2c
......@@ -102,6 +102,10 @@ void ReportSchedulerDesktop::StartWatchingExtensionRequestIfNeeded() {
if (!ShouldReportExtensionRequestRealtime())
return;
// On CrOS, the function may be called twice during startup.
if (ExtensionRequestReportThrottler::Get()->IsEnabled())
return;
ExtensionRequestReportThrottler::Get()->Enable(
base::TimeDelta::FromMinutes(kThrottleTimeInMinute),
base::BindRepeating(&ReportSchedulerDesktop::TriggerExtensionRequest,
......
......@@ -373,7 +373,7 @@ const base::Feature kEventBasedStatusReporting{
#if !defined(OS_ANDROID)
// Enables real-time reporting for extension request
const base::Feature kEnterpriseRealtimeExtensionRequest{
"EnterpriseRealtimeExtensionRequest", base::FEATURE_DISABLED_BY_DEFAULT};
"EnterpriseRealtimeExtensionRequest", base::FEATURE_ENABLED_BY_DEFAULT};
#endif
// If enabled, this feature's |kExternalInstallDefaultButtonKey| field trial
......
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