DescriptionDisable custom tabs if the feature is disabled in finch experiment
Since we don't have access to native calls, we can't check the finch
experiment group from launch. This change uses a shared pref that is
updated on every deferred startup to handle the enabling/disabling
through the finch trial. This has a possibility of launching one
custom tab before the feature is disabled.
Also checks for the field trial group to disable
prerendering. This one we don't need to use the pref since
by the time we get to the mayLaunchUrl call native should
have been initialized.
BUG=499056
Committed: https://crrev.com/8bbe9f1f6330fa413176d5fec312b9a6f9442031
Cr-Commit-Position: refs/heads/master@{#335800}
Patch Set 1 #Patch Set 2 : Nits #
Total comments: 8
Patch Set 3 : First Comments #Patch Set 4 : Add finch trial group check for disabling prerendering #
Total comments: 4
Patch Set 5 : Final comments addressed #
Depends on Patchset: Messages
Total messages: 13 (3 generated)
|