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

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

Issue 2184823005: Add flag for the counters and time selection UI in CBD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « ios/chrome/browser/experimental_flags.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index 4f7ba33018d2d1c2cbdb58d539530d74211fd53b..df980e9f4110cc0e5199b18048df174976f44916 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -29,6 +29,7 @@ NSString* const kHeuristicsForPasswordGeneration =
NSString* const kEnableReadingList = @"EnableReadingList";
NSString* const kUpdatePasswordUIEnabled = @"UpdatePasswordUIEnabled";
NSString* const kEnableQRCodeReader = @"EnableQRCodeReader";
+NSString* const kEnableNewClearBrowsingDataUI = @"EnableNewClearBrowsingDataUI";
} // namespace
namespace experimental_flags {
@@ -153,4 +154,12 @@ bool IsQRCodeReaderEnabled() {
boolForKey:kEnableQRCodeReader];
}
+bool IsNewClearBrowsingDataUIEnabled() {
+ NSString* countersFlag = [[NSUserDefaults standardUserDefaults]
+ objectForKey:kEnableNewClearBrowsingDataUI];
+ if ([countersFlag isEqualToString:@"Enabled"])
+ return true;
+ return false;
+}
+
} // namespace experimental_flags
« no previous file with comments | « ios/chrome/browser/experimental_flags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698