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

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

Issue 2093363002: Autofill address editor in PaymentRequest UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@contact-editor
Patch Set: Fix try-bot Created 4 years, 6 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 a6df86fc1905ed271a2f38558f1e9ac3e58907f2..276562a3a40dea0275bc7950bf6d9c1722522601 100644
--- a/chrome/browser/autofill/android/personal_data_manager_android.h
+++ b/chrome/browser/autofill/android/personal_data_manager_android.h
@@ -61,13 +61,20 @@ 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. Fields such as phone number and
- // email address are also omitted, but all other fields are included in the
- // label.
+ // The labels never contain the full name or email address. All other fields
+ // are included in the label.
base::android::ScopedJavaLocalRef<jobjectArray> GetProfileLabelsToSuggest(
JNIEnv* env,
const base::android::JavaParamRef<jobject>& unused_obj);
+ // 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
+ // included in the label.
+ base::android::ScopedJavaLocalRef<jstring> GetAddressLabelForPaymentRequest(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& unused_obj,
+ const base::android::JavaParamRef<jobject>& jprofile);
+
// These functions act on local credit cards.
// --------------------

Powered by Google App Engine
This is Rietveld 408576698