Index: components/autofill/core/browser/phone_field.h |
diff --git a/components/autofill/core/browser/phone_field.h b/components/autofill/core/browser/phone_field.h |
index 27362904ff53123ee570b8b491726b7a4f5993d2..55341790480ab6d94e0006023565ec8cdfb8e3d7 100644 |
--- a/components/autofill/core/browser/phone_field.h |
+++ b/components/autofill/core/browser/phone_field.h |
@@ -79,8 +79,13 @@ class PhoneField : public FormField { |
PhoneField(); |
- // Returns the regular expression string correspoding to |regex_id| |
- static base::string16 GetRegExp(RegexType regex_id); |
+ // Returns the regular expression string corresponding to |regex_id| |
+ static std::string GetRegExp(RegexType regex_id); |
+ |
+ // Convenient wrapper for ParseFieldSpecifics(). |
+ static bool ParsePhoneField(AutofillScanner* scanner, |
+ const std::string& regex, |
+ AutofillField** field); |
// FIELD_PHONE is always present; holds suffix if prefix is present. |
// The rest could be NULL. |