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

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

Issue 2500603003: [ios] Experimental flag for Pending Index Navigations. (Closed)
Patch Set: Self review Created 4 years, 1 month 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 4c8470815bf44797abd87237e2a8bac09eabdadc..4919bd515f725033f10e1d586a3e8413541d2258 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -29,6 +29,8 @@ NSString* const kHeuristicsForPasswordGeneration =
NSString* const kEnableReadingList = @"EnableReadingList";
NSString* const kEnableNewClearBrowsingDataUI = @"EnableNewClearBrowsingDataUI";
NSString* const kMDMIntegrationDisabled = @"MDMIntegrationDisabled";
+NSString* const kPendingIndexNavigationEnabled =
+ @"PendingIndexNavigationEnabled";
} // namespace
namespace experimental_flags {
@@ -180,4 +182,9 @@ bool IsMDMIntegrationEnabled() {
boolForKey:kMDMIntegrationDisabled];
}
+bool IsPendingIndexNavigationEnabled() {
+ return [[NSUserDefaults standardUserDefaults]
+ boolForKey:kPendingIndexNavigationEnabled];
+}
+
} // 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