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 b810e76010cef8ce961ae903adce385e093dc2d3..96f07f923b30110a037886af6a4aeead8bf92196 100644 |
--- a/components/autofill/core/browser/autofill_field.h |
+++ b/components/autofill/core/browser/autofill_field.h |
@@ -75,6 +75,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_; |