Chromium Code Reviews| 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 0f7920a517de05ff4e6cddaf39e3970de1d90807..2be6a19a32251545043e27f7c3fc3181bbad125a 100644 | 
| --- a/chrome/browser/autofill/android/personal_data_manager_android.h | 
| +++ b/chrome/browser/autofill/android/personal_data_manager_android.h | 
| @@ -61,11 +61,13 @@ 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, email address, or phone numbers. | 
| - // All other fields are included in the label. | 
| + // The labels never contain the email address, or phone numbers. The name is | 
| + // included or not based on the |include_name| parameter. All other fields are | 
| 
 
vabr (Chromium)
2016/08/29 08:47:04
optional nit: The current phrasing is ambiguous (h
 
sebsg
2016/08/29 13:24:09
Done.
 
 | 
| + // included in the label. | 
| base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabelsToSuggest( | 
| JNIEnv* env, | 
| - const base::android::JavaParamRef<jobject>& unused_obj); | 
| + const base::android::JavaParamRef<jobject>& unused_obj, | 
| + jboolean include_name); | 
| // Returns the label of the given profile for PaymentRequest. This label does | 
| // not contain the full name or the email address. All other fields are | 
| @@ -266,6 +268,7 @@ class PersonalDataManagerAndroid : public PersonalDataManagerObserver { | 
| base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabels( | 
| JNIEnv* env, | 
| bool address_only, | 
| + bool include_name, | 
| std::vector<AutofillProfile*> profiles); | 
| // Pointer to the java counterpart. |