Commit b44e2307 authored by Gang Wu's avatar Gang Wu Committed by Commit Bot

[Omnibox] Enable reducing Omnibox Clipboard suggestion age by default

Enable reducing Omnibox Clipboard suggestion age from 1 hour to 10
minutes by default.

This CL is a kind of prerequisite for cr/307908522

Bug: 948235
Change-Id: I15540a847bbe645843024dc3a691673c6372a89a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181042Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Reviewed-by: default avatarEnder <ender@google.com>
Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
Commit-Queue: Gang Wu <gangwu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#766459}
parent 725ad66a
......@@ -38,7 +38,8 @@ base::TimeDelta ClipboardRecentContent::MaximumAgeOfClipboard() {
// Identify the current setting for this parameter from the feature, using
// 3600 seconds (1 hour) as a default if the parameter is not set.
// On iOS, the default is 600 seconds (10 minutes).
#if defined(OS_IOS)
// TODO(gangwu) : Remove this feature flag after full launched in Android.
#if defined(OS_IOS) || defined(OS_ANDROID)
int default_maximum_age = 600;
#else
int default_maximum_age = 3600;
......
......@@ -1437,6 +1437,24 @@
]
}
],
"ClipboardMaximumAge": [
{
"platforms": [
"android"
],
"experiments": [
{
"name": "Enabled_V2",
"params": {
"UIClipboardMaximumAge": "600"
},
"enable_features": [
"ClipboardMaximumAge"
]
}
]
}
],
"CompositeCrossOriginIframes": [
{
"platforms": [
......@@ -3774,14 +3792,12 @@
{
"name": "AndroidExperiments",
"params": {
"UIClipboardMaximumAge": "600",
"ZeroSuggestVariant:1:*": "Local",
"ZeroSuggestVariant:7:*": "Local",
"ZeroSuggestVariant:8:*": "Local",
"rounded_edges": "true"
},
"enable_features": [
"ClipboardMaximumAge",
"OmniboxDisableInstantExtendedLimit",
"OmniboxHistoryQuickProviderAllowButDoNotScoreMidwordTerms",
"OmniboxHistoryQuickProviderAllowMidwordContinuations",
......
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