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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_test.cc

Issue 877613004: [Credential Manager API] Pass origin to Account chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local_vs_federated
Patch Set: Rebased. Created 5 years, 10 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_test.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_test.cc b/chrome/browser/ui/passwords/manage_passwords_test.cc
index 4de9388adf079195aeff6cb342ad1327161a65f4..e80e18170031333b55daa209a0a81f204e0cd8b1 100644
--- a/chrome/browser/ui/passwords/manage_passwords_test.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_test.cc
@@ -83,13 +83,13 @@ void ManagePasswordsTest::SetupBlackistedPassword() {
void ManagePasswordsTest::SetupChooseCredentials(
ScopedVector<autofill::PasswordForm> local_credentials,
- ScopedVector<autofill::PasswordForm> federated_credentials) {
+ ScopedVector<autofill::PasswordForm> federated_credentials,
+ const GURL& origin) {
base::string16 kTestUsername = base::ASCIIToUTF16("test_username");
autofill::PasswordFormMap map;
map[kTestUsername] = test_form();
GetController()->OnChooseCredentials(
- local_credentials.Pass(),
- federated_credentials.Pass(),
+ local_credentials.Pass(), federated_credentials.Pass(), origin,
base::Bind(&ManagePasswordsTest::OnChooseCredential, this));
GetController()->UpdateIconAndBubbleState(view());
}
« no previous file with comments | « chrome/browser/ui/passwords/manage_passwords_test.h ('k') | chrome/browser/ui/passwords/manage_passwords_ui_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698