Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: ios/chrome/browser/experimental_flags.mm

Issue 2660143002: Removing iPad Tab Switcher experimental flag. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index 8f83865f21b355016b2c6f9356ceed35c4c00027..feec9693c9d2d4e53455f328887e0348fe236f95 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -273,19 +273,6 @@ bool IsTabStripAutoScrollNewTabsEnabled() {
return !command_line->HasSwitch(switches::kDisableTabStripAutoScrollNewTabs);
}
-bool IsTabSwitcherEnabled() {
- // Check if the experimental flag is forced off.
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kDisableTabSwitcher)) {
- return false;
- }
-
- // Check if the finch experiment is turned off.
- std::string group_name = base::FieldTrialList::FindFullName("IOSTabSwitcher");
- return !base::StartsWith(group_name, "Disabled",
- base::CompareCase::INSENSITIVE_ASCII);
-}
-
bool IsViewCopyPasswordsEnabled() {
NSString* viewCopyPasswordFlag = [[NSUserDefaults standardUserDefaults]
objectForKey:kEnableViewCopyPasswords];

Powered by Google App Engine
This is Rietveld 408576698