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

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

Issue 2621453002: Selected shipping option in payment summary view + shipping option selection view (Closed)
Patch Set: Addressed comments by lpromero@ and jdonnelley@ 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 f47e1c6a3aaf684449ef600a1a6805d6503a3aba..c158515b2ee73820673eee617f4185b15e9f552d 100644
--- a/ios/chrome/browser/payments/payment_request_utils.h
+++ b/ios/chrome/browser/payments/payment_request_utils.h
@@ -16,6 +16,11 @@ namespace payment_request_utils {
// Helper function to get the shipping address label from an autofill profile.
NSString* AddressLabelFromAutofillProfile(autofill::AutofillProfile* profile);
+// Helper function that returns a formatted currency string given the value and
+// the currency code.
+NSString* FormattedCurrencyString(NSDecimalNumber* value,
+ NSString* currencyCode);
+
} // namespace payment_request_utils
#endif // IOS_CHROME_BROWSER_PAYMENTS_PAYMENT_REQUEST_UTILS_H_
« no previous file with comments | « ios/chrome/browser/payments/payment_request_coordinator.mm ('k') | ios/chrome/browser/payments/payment_request_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698