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

Unified Diff: components/autofill/core/browser/validation.h

Issue 2816083002: [WebPayments] Desktop implementation of Contact Editor (Closed)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « chrome/test/data/payments/contact_details.js ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/validation.h
diff --git a/components/autofill/core/browser/validation.h b/components/autofill/core/browser/validation.h
index 5905b842b3ea1e1e0073df3c91f5eead0b41d4ba..2d6953c69fc50e5c312e9fd238f60fbe2d44b9e1 100644
--- a/components/autofill/core/browser/validation.h
+++ b/components/autofill/core/browser/validation.h
@@ -70,7 +70,8 @@ bool IsValidEmailAddress(const base::string16& text);
// insensitive. Valid for US states only.
bool IsValidState(const base::string16& text);
-// Returns whether the number contained in |text| is valid for the specified
+// Returns whether the number contained in |text| is valid, either in
+// international format, or in the national format associated with
// |country_code|. Callers should cache the result as the parsing is expensive.
bool IsValidPhoneNumber(const base::string16& text,
const std::string& country_code);
« no previous file with comments | « chrome/test/data/payments/contact_details.js ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698