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 { |