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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.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/ui/passwords/manage_passwords_ui_controller.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
index 92ab0ebb05892c058364b7a894c433638b362c82..dace6bef9ee6aca2fc07750908468131e8b9e1a6 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
@@ -119,10 +119,11 @@ bool ManagePasswordsUIController::OnChooseCredentials(
}
void ManagePasswordsUIController::OnAutoSignin(
- ScopedVector<autofill::PasswordForm> local_forms) {
+ ScopedVector<autofill::PasswordForm> local_forms,
+ const GURL& origin) {
DCHECK(!local_forms.empty());
DestroyAccountChooser();
- passwords_data_.OnAutoSignin(std::move(local_forms));
+ passwords_data_.OnAutoSignin(std::move(local_forms), origin);
bubble_status_ = SHOULD_POP_UP;
UpdateBubbleAndIconVisibility();
}

Powered by Google App Engine
This is Rietveld 408576698