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

Unified Diff: chrome/browser/autofill/android/personal_data_manager_android.h

Issue 2149433002: [Payments] Add ability to bold parts of addresses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/autofill/android/personal_data_manager_android.h
diff --git a/chrome/browser/autofill/android/personal_data_manager_android.h b/chrome/browser/autofill/android/personal_data_manager_android.h
index c2ae27a0b8b8ba1688b29791c0d097b3931ba0df..d979ab1002a80ac110c2ae0358e3523dfab976da 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.h
+++ b/chrome/browser/autofill/android/personal_data_manager_android.h
@@ -61,8 +61,8 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
// Gets the labels for the profiles to suggest to the user. These labels are
// useful for distinguishing the profiles from one another.
//
- // The labels never contain the full name or email address. All other fields
- // are included in the label.
+ // The labels never contain the full name, email address, or phone numbers.
+ // All other fields are included in the label.
base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabelsToSuggest(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& unused_obj);
@@ -183,8 +183,8 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver {
//
// The labels never contain the full name and include at least 2 fields.
//
- // If |address_only| is true, then such fields as phone number and email
- // address are also omitted, but all fields are included in the label.
+ // If |address_only| is true, then such fields as phone number, and email
+ // address are also omitted, but all other fields are included in the label.
base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabels(
JNIEnv* env,
bool address_only,

Powered by Google App Engine
This is Rietveld 408576698