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

Unified Diff: ios/chrome/browser/payments/payment_request_utils.h

Issue 2588913002: EarlGrey tests for Payment Request (base CL) (Closed)
Patch Set: Moved the experimental flag back to the BVC Created 3 years, 11 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: ios/chrome/browser/payments/payment_request_utils.h
diff --git a/ios/chrome/browser/payments/payment_request_utils.h b/ios/chrome/browser/payments/payment_request_utils.h
index c158515b2ee73820673eee617f4185b15e9f552d..9a6493aab03a12adde28d2b7b6ce515e2930f0b6 100644
--- a/ios/chrome/browser/payments/payment_request_utils.h
+++ b/ios/chrome/browser/payments/payment_request_utils.h
@@ -13,7 +13,10 @@ class AutofillProfile;
namespace payment_request_utils {
-// Helper function to get the shipping address label from an autofill profile.
+// Helper function to get the name label from an autofill profile.
+NSString* NameLabelFromAutofillProfile(autofill::AutofillProfile* profile);
+
+// Helper function to get the address label from an autofill profile.
NSString* AddressLabelFromAutofillProfile(autofill::AutofillProfile* profile);
// Helper function that returns a formatted currency string given the value and
@@ -21,6 +24,10 @@ NSString* AddressLabelFromAutofillProfile(autofill::AutofillProfile* profile);
NSString* FormattedCurrencyString(NSDecimalNumber* value,
NSString* currencyCode);
+// Helper function to get the phone number label from an autofill profile.
+NSString* PhoneNumberLabelFromAutofillProfile(
+ autofill::AutofillProfile* profile);
+
} // namespace payment_request_utils
#endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698