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 2106353003: Enable Update Password UI on iOS behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_controller
Patch Set: Override PasswordManagerClient::IsUpdatePasswordUIEnabled 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
Index: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index 5e6be562c46df578d8abf208c01bef8ee9a0e692..9e772354a4ad3e36c15db17bfaee08e53242ea9f 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -27,6 +27,7 @@ NSString* const kEnableViewCopyPasswords = @"EnableViewCopyPasswords";
NSString* const kHeuristicsForPasswordGeneration =
@"HeuristicsForPasswordGeneration";
NSString* const kEnableReadingList = @"EnableReadingList";
+NSString* const kUpdatePasswordUIEnabled = @"UpdatePasswordUIEnabled";
} // namespace
namespace experimental_flags {
@@ -136,4 +137,9 @@ bool IsPhysicalWebEnabled() {
base::CompareCase::INSENSITIVE_ASCII);
}
+bool IsUpdatePasswordUIEnabled() {
+ return [[NSUserDefaults standardUserDefaults]
+ boolForKey:kUpdatePasswordUIEnabled];
+}
+
} // namespace experimental_flags
« no previous file with comments | « ios/chrome/browser/experimental_flags.h ('k') | ios/chrome/browser/passwords/ios_chrome_password_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698