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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_test.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_test.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_test.cc b/chrome/browser/ui/passwords/manage_passwords_test.cc
index ce9efdd7aad246d15c9623ed3ab5621a353f8c16..ecd14c4d23dd6a0fd3018f6666afc87f59b46113 100644
--- a/chrome/browser/ui/passwords/manage_passwords_test.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_test.cc
@@ -81,7 +81,9 @@ void ManagePasswordsTest::SetupAutomaticPassword() {
void ManagePasswordsTest::SetupAutoSignin(
ScopedVector<autofill::PasswordForm> local_credentials) {
- GetController()->OnAutoSignin(std::move(local_credentials));
+ ASSERT_FALSE(local_credentials.empty());
+ GURL origin = local_credentials[0]->origin;
+ GetController()->OnAutoSignin(std::move(local_credentials), origin);
}
scoped_ptr<base::HistogramSamples> ManagePasswordsTest::GetSamples(

Powered by Google App Engine
This is Rietveld 408576698