Chromium Code Reviews| 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 2ef1e37572f9ba39c54976cbc546dd91ebffd8d6..a01693625b923200735238b0873be48aacf1992b 100644 |
| --- a/third_party/WebKit/Source/modules/payments/PaymentsValidators.h |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentsValidators.h |
| @@ -16,7 +16,8 @@ class MODULES_EXPORT PaymentsValidators final { |
| STATIC_ONLY(PaymentsValidators); |
| public: |
| - // Returns true if |code| is a valid ISO 4217 currency code. |
| + // The most common identifiers are three-letter alphabetic codes as defined by [ISO4217] (for example, "USD" for US Dollars) |
| + // however any string is considered valid. Returns false if currency |code| is too long ( greater than 2048). |
|
please use gerrit instead
2016/08/25 16:47:38
No space after (
pals
2016/08/26 07:20:26
Done.
|
| static bool isValidCurrencyCodeFormat(const String& code, String* optionalErrorMessage); |
| // Returns true if |amount| is a valid currency code as defined in ISO 20022 CurrencyAnd30Amount. |