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() { ...@@ -274,18 +274,16 @@ bool IsStartupCrashEnabled() {
} }
bool IsTabSwitcherEnabled() { 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(); base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kEnableTabSwitcher)) { if (command_line->HasSwitch(switches::kDisableTabSwitcher)) {
return true;
} else if (command_line->HasSwitch(switches::kDisableTabSwitcher)) {
return false; 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"); std::string group_name = base::FieldTrialList::FindFullName("IOSTabSwitcher");
return base::StartsWith(group_name, "Enabled", return !base::StartsWith(group_name, "Disabled",
base::CompareCase::INSENSITIVE_ASCII); base::CompareCase::INSENSITIVE_ASCII);
} }
bool IsViewCopyPasswordsEnabled() { 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