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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java

Issue 2287513002: [Payments] Show name and address when selecting a CC billing address. (Closed)
Patch Set: Fixed error Created 4 years, 4 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/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java
index 26fc1fb6f21145fd2a80424309881ca87206ff2f..4df5b74cd86d632b251cb45fb308f93686472b9b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTestHelper.java
@@ -35,11 +35,12 @@ public class AutofillTestHelper {
});
}
- List<AutofillProfile> getProfilesToSuggest() throws ExecutionException {
+ List<AutofillProfile> getProfilesToSuggest(final boolean includeName) throws
+ ExecutionException {
return ThreadUtils.runOnUiThreadBlocking(new Callable<List<AutofillProfile>>() {
@Override
public List<AutofillProfile> call() {
- return PersonalDataManager.getInstance().getProfilesToSuggest();
+ return PersonalDataManager.getInstance().getProfilesToSuggest(includeName);
}
});
}
@@ -54,7 +55,7 @@ public class AutofillTestHelper {
}
int getNumberOfProfilesToSuggest() throws ExecutionException {
- return getProfilesToSuggest().size();
+ return getProfilesToSuggest(false).size();
}
int getNumberOfProfilesForSettings() throws ExecutionException {

Powered by Google App Engine
This is Rietveld 408576698