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

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

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: 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 5d8ca7afa5f06c9cba28bf7d110eabcddde23bfa..2ef1e37572f9ba39c54976cbc546dd91ebffd8d6 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentsValidators.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentsValidators.h
@@ -23,7 +23,7 @@ public:
static bool isValidAmountFormat(const String& amount, String* optionalErrorMessage);
// Returns true if |code| is a valid ISO 3166 country code.
- static bool isValidRegionCodeFormat(const String& code, String* optionalErrorMessage);
+ static bool isValidCountryCodeFormat(const String& code, String* optionalErrorMessage);
// Returns true if |code| is a valid ISO 639 language code.
static bool isValidLanguageCodeFormat(const String& code, String* optionalErrorMessage);

Powered by Google App Engine
This is Rietveld 408576698