0

Add an option to enable Partial translate on incognito

Bug: 1456860
Change-Id: I76571e967055d98a1b10146b0dcf0f2a7bd5c499
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4634137
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Auto-Submit: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1160810}
This commit is contained in:
Olivier Robin
2023-06-21 19:53:44 +00:00
committed by Chromium LUCI CQ
parent 35d9156525
commit fa8de550dd

@ -648,9 +648,13 @@ const FeatureEntry::FeatureVariation
const FeatureEntry::FeatureParam kIOSEditMenuPartialTranslateNoIncognito[] = {
{kIOSEditMenuPartialTranslateNoIncognitoParam, "true"}};
const FeatureEntry::FeatureParam kIOSEditMenuPartialTranslateWithIncognito[] = {
{kIOSEditMenuPartialTranslateNoIncognitoParam, "false"}};
const FeatureEntry::FeatureVariation kIOSEditMenuPartialTranslateVariations[] =
{{"Disable on incognito", kIOSEditMenuPartialTranslateNoIncognito,
std::size(kIOSEditMenuPartialTranslateNoIncognito), nullptr}};
std::size(kIOSEditMenuPartialTranslateNoIncognito), nullptr},
{"Enable on incognito", kIOSEditMenuPartialTranslateWithIncognito,
std::size(kIOSEditMenuPartialTranslateWithIncognito), nullptr}};
const FeatureEntry::FeatureParam kAddToHomeScreenDisableIncognito[] = {
{kAddToHomeScreenDisableIncognitoParam, "true"}};