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

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

Issue 2472043003: [Payments] Don't show Organization in billing address selection label. (Closed)
Patch Set: Updated test + Addressed Dan's comment Created 4 years, 1 month 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 604e56f26796ecdd29bf0938e07327b72d401b66..f04868aeef20d5734108d42d1ca0e904296b52b3 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.h
+++ b/chrome/browser/autofill/android/personal_data_manager_android.h
@@ -85,7 +85,9 @@ class PersonalDataManagerAndroid
base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabelsToSuggest(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& unused_obj,
- jboolean include_name_in_label);
+ jboolean include_name_in_label,
+ jboolean include_organization_in_label,
+ jboolean include_country_in_label);
// 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
@@ -331,6 +333,8 @@ class PersonalDataManagerAndroid
JNIEnv* env,
bool address_only,
bool include_name_in_label,
+ bool include_organization_in_label,
+ bool include_country_in_label,
std::vector<AutofillProfile*> profiles);
// Pointer to the java counterpart.

Powered by Google App Engine
This is Rietveld 408576698