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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentsValidators.h

Issue 2410143003: Add currencySystem field to PaymentCurrencyAmount (Closed)
Patch Set: Add currencySystem field to PaymentCurrencyAmount Created 4 years, 2 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: third_party/WebKit/Source/modules/payments/PaymentsValidators.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentsValidators.h b/third_party/WebKit/Source/modules/payments/PaymentsValidators.h
index d7285141add312dc7f01d84c5bef63d7f25b5d68..7f33e8d9dc58a6223167825b84a123683789805a 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentsValidators.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentsValidators.h
@@ -19,6 +19,7 @@ class MODULES_EXPORT PaymentsValidators final {
// The most common identifiers are three-letter alphabetic codes as defined by [ISO4217] (for example, "USD" for US Dollars)
// however any string of at most 2048 characters is considered valid. Returns false if currency |code| is too long (greater than 2048).
please use gerrit instead 2016/10/12 23:35:50 Please update the comments to talk about different
pals 2016/10/13 09:30:38 Done.
static bool isValidCurrencyCodeFormat(const String& code,
+ const String& system,
String* optionalErrorMessage);
// Returns true if |amount| is a valid currency code as defined in ISO 20022 CurrencyAnd30Amount.

Powered by Google App Engine
This is Rietveld 408576698