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

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

Issue 2662473003: Removing "All Bookmarks" (Closed)
Patch Set: feedback 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..892a61629f70af296513627b6cbc7593e8bdf69f 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -85,25 +85,6 @@ bool IsAlertOnBackgroundUploadEnabled() {
boolForKey:kEnableAlertOnBackgroundUpload];
}
-bool IsAllBookmarksEnabled() {
- base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kEnableAllBookmarksView)) {
- return true;
- } else if (command_line->HasSwitch(switches::kDisableAllBookmarksView)) {
- return false;
- }
-
- // Check if the finch experiment exists.
- std::string group_name =
- base::FieldTrialList::FindFullName("RemoveAllBookmarks");
-
- if (group_name.empty()) {
- return false; // If no finch experiment, all bookmarks is disabled.
- }
- return base::StartsWith(group_name, "Enabled",
- base::CompareCase::INSENSITIVE_ASCII);
-}
-
bool IsAutoReloadEnabled() {
std::string group_name = base::FieldTrialList::FindFullName("IOSAutoReload");
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
« no previous file with comments | « ios/chrome/browser/experimental_flags.h ('k') | ios/chrome/browser/resources/Settings.bundle/Experimental.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698