Commit b31071df authored by jif's avatar jif Committed by Commit bot

Enable the iPad Tab Switcher by default.

BUG=675624

Review-Url: https://codereview.chromium.org/2589763002
Cr-Commit-Position: refs/heads/master@{#439823}
parent bf74456d
......@@ -274,18 +274,16 @@ bool IsStartupCrashEnabled() {
}
bool IsTabSwitcherEnabled() {
// Check if the experimental flag is forced on or off.
// Check if the experimental flag is forced off.
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kEnableTabSwitcher)) {
return true;
} else if (command_line->HasSwitch(switches::kDisableTabSwitcher)) {
if (command_line->HasSwitch(switches::kDisableTabSwitcher)) {
return false;
}
// Check if the finch experiment is turned on.
// Check if the finch experiment is turned off.
std::string group_name = base::FieldTrialList::FindFullName("IOSTabSwitcher");
return base::StartsWith(group_name, "Enabled",
base::CompareCase::INSENSITIVE_ASCII);
return !base::StartsWith(group_name, "Disabled",
base::CompareCase::INSENSITIVE_ASCII);
}
bool IsViewCopyPasswordsEnabled() {
......
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