Index: components/autofill/core/browser/autofill_field.h |
diff --git a/components/autofill/core/browser/autofill_field.h b/components/autofill/core/browser/autofill_field.h |
index d32b972f8a981c2979775753e823075bcd01ac73..1c79bb2fd001fc090115c738fb06e06054185923 100644 |
--- a/components/autofill/core/browser/autofill_field.h |
+++ b/components/autofill/core/browser/autofill_field.h |
@@ -82,6 +82,13 @@ class AutofillField : public FormFieldData { |
const std::string& app_locale, |
FormFieldData* field_data); |
+ // Returns the phone number value for the given |field|. The returned value |
+ // might be |number|, or could possibly be a prefix or suffix of |number| |
+ // if that's appropriate for the field. |
+ static base::string16 GetPhoneNumberValue(const AutofillField& field, |
+ const base::string16& number, |
+ const FormFieldData& field_data); |
+ |
private: |
// The unique name of this field, generated by Autofill. |
base::string16 unique_name_; |