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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.cc

Issue 1776673003: Fix the password bubble titles for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the tests Created 4 years, 9 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: chrome/browser/password_manager/chrome_password_manager_client.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
index 616f45b2907e22a3a7e82cf35557cc7427768045..f84fa54939f855798a66b419258da28dd27e185a 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
@@ -307,14 +307,14 @@ void ChromePasswordManagerClient::GeneratePassword() {
}
void ChromePasswordManagerClient::NotifyUserAutoSignin(
- ScopedVector<autofill::PasswordForm> local_forms) {
+ ScopedVector<autofill::PasswordForm> local_forms,
+ const GURL& origin) {
DCHECK(!local_forms.empty());
#if BUILDFLAG(ANDROID_JAVA_UI)
ShowAutoSigninPrompt(web_contents(), local_forms[0]->username_value);
#else
PasswordsClientUIDelegateFromWebContents(web_contents())
- ->OnAutoSignin(std::move(local_forms));
-
+ ->OnAutoSignin(std::move(local_forms), origin);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698