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

Unified Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_client.h

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/passwords/ios_chrome_password_manager_client.h
diff --git a/ios/chrome/browser/passwords/ios_chrome_password_manager_client.h b/ios/chrome/browser/passwords/ios_chrome_password_manager_client.h
index 2202ef1c7a8704d30bcaf91427d3ef7d052df885..f3b4a4e78695b7b7e5721f897970bccaf71484f2 100644
--- a/ios/chrome/browser/passwords/ios_chrome_password_manager_client.h
+++ b/ios/chrome/browser/passwords/ios_chrome_password_manager_client.h
@@ -24,6 +24,10 @@ class PasswordFormManager;
- (void)showSavePasswordInfoBar:
(std::unique_ptr<password_manager::PasswordFormManager>)formToSave;
+// Shows UI to prompt the user to update the password.
+- (void)showUpdatePasswordInfoBar:
+ (std::unique_ptr<password_manager::PasswordFormManager>)formToUpdate;
+
@property(readonly, nonatomic) ios::ChromeBrowserState* browserState;
@property(readonly, nonatomic) const GURL& lastCommittedURL;
@@ -65,6 +69,7 @@ class IOSChromePasswordManagerClient
void NotifyStorePasswordCalled() override;
void ForceSavePassword() override;
bool IsSavingAndFillingEnabledForCurrentPage() const override;
+ bool IsUpdatePasswordUIEnabled() const override;
const GURL& GetLastCommittedEntryURL() const override;
const password_manager::CredentialsFilter* GetStoreResultFilter()
const override;
« no previous file with comments | « ios/chrome/browser/experimental_flags.mm ('k') | ios/chrome/browser/passwords/ios_chrome_password_manager_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698