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

Unified Diff: ios/chrome/browser/passwords/password_generation_agent.mm

Issue 2937033002: [Password Generation] Send a boolean flag of whether user changed generated password (Closed)
Patch Set: Changes addressed to vabr@ comments Created 3 years, 6 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 | « components/password_manager/core/browser/password_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/passwords/password_generation_agent.mm
diff --git a/ios/chrome/browser/passwords/password_generation_agent.mm b/ios/chrome/browser/passwords/password_generation_agent.mm
index 67671677d07eeb5e1f7dfb59827b3b2c9ee849c7..57790216d7390273754960ad670f189fabe8cf8c 100644
--- a/ios/chrome/browser/passwords/password_generation_agent.mm
+++ b/ios/chrome/browser/passwords/password_generation_agent.mm
@@ -356,9 +356,8 @@ passwordManagerDriver:(password_manager::PasswordManagerDriver*)driver
return;
if (strongSelf->_passwordManager) {
// Might be null in tests.
- strongSelf->_passwordManager->SetHasGeneratedPasswordForForm(
- strongSelf->_passwordManagerDriver,
- *strongSelf->_possibleAccountCreationForm, true);
+ strongSelf->_passwordManager->OnPresaveGeneratedPassword(
+ *strongSelf->_possibleAccountCreationForm);
}
if (strongSelf->_accessoryViewReadyCompletion) {
strongSelf->_accessoryViewReadyCompletion(
« no previous file with comments | « components/password_manager/core/browser/password_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698