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

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

Issue 2816083002: [WebPayments] Desktop implementation of Contact Editor (Closed)
Patch Set: compile error + 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
Index: components/autofill/core/browser/validation.h
diff --git a/components/autofill/core/browser/validation.h b/components/autofill/core/browser/validation.h
index 93a52e59b4f560d1d984fff0d0ebd5f5a5186409..050703e28661920d1ba8a38c29bbaa3f6e65a64b 100644
--- a/components/autofill/core/browser/validation.h
+++ b/components/autofill/core/browser/validation.h
@@ -49,7 +49,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);

Powered by Google App Engine
This is Rietveld 408576698