Commit e8443fe8 authored by georgesak's avatar georgesak Committed by Commit bot

Change logic to enable for group Enabled (for A/B testing).

This allows to have multiple Disabled group, e.g. Disabled/Disabled_control, and thus eases experimentation.

TBR=sky@chromium.org
BUG=465815

Review URL: https://codereview.chromium.org/1062243002

Cr-Commit-Position: refs/heads/master@{#324099}
parent 7d66db12
...@@ -17,7 +17,7 @@ void SessionRestoreDelegate::RestoreTabs( ...@@ -17,7 +17,7 @@ void SessionRestoreDelegate::RestoreTabs(
base::FieldTrial* trial = base::FieldTrial* trial =
base::FieldTrialList::Find("SessionRestoreBackgroundLoading"); base::FieldTrialList::Find("SessionRestoreBackgroundLoading");
bool active_only = true; bool active_only = true;
if (!trial || trial->group_name() != "Disabled") { if (!trial || trial->group_name() == "Enabled") {
TabLoader::RestoreTabs(tabs, restore_started); TabLoader::RestoreTabs(tabs, restore_started);
active_only = false; active_only = false;
} }
......
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