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

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

Issue 2417353002: PaymentRequest: Rename includeName parameter to includeNameInLabel. (Closed)
Patch Set: PaymentRequest: Rename includeName parameter to includeNameInLabel. Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java
index 16e47f4a723cc077429414947c30ee99264f8cc2..9e364fe0043955f96467ba42c699062c62ba7b26 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java
@@ -548,14 +548,14 @@ public class PersonalDataManager {
* Gets the profiles to suggest when filling a form or completing a transaction. The profiles
* will have been processed to be more relevant to the user.
*
- * @param includeName Whether to include the name in the profile's label.
+ * @param includeNameInLabel Whether to include the name in the profile's label.
* @return The list of profiles to suggest to the user.
*/
- public List<AutofillProfile> getProfilesToSuggest(boolean includeName) {
+ public List<AutofillProfile> getProfilesToSuggest(boolean includeNameInLabel) {
ThreadUtils.assertOnUiThread();
return getProfilesWithLabels(
nativeGetProfileLabelsToSuggest(
- mPersonalDataManagerAndroid, includeName),
+ mPersonalDataManagerAndroid, includeNameInLabel),
nativeGetProfileGUIDsToSuggest(mPersonalDataManagerAndroid));
}
@@ -823,7 +823,7 @@ public class PersonalDataManager {
private native String[] nativeGetProfileLabelsForSettings(
long nativePersonalDataManagerAndroid);
private native String[] nativeGetProfileLabelsToSuggest(long nativePersonalDataManagerAndroid,
- boolean includeName);
+ boolean includeNameInLabel);
private native AutofillProfile nativeGetProfileByGUID(long nativePersonalDataManagerAndroid,
String guid);
private native String nativeSetProfile(long nativePersonalDataManagerAndroid,
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698