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..0da05c3e708627ca0496023c90c64a934293868a 100644 |
--- a/components/autofill/core/browser/autofill_field.h |
+++ b/components/autofill/core/browser/autofill_field.h |
@@ -75,6 +75,12 @@ class AutofillField : public FormFieldData { |
const std::string& app_locale, |
FormFieldData* field_data); |
+ // Get value for phone number. The value could be |number|, or possibly an |
+ // appropriate substring of |number| if it's for phone prefix or suffix field. |
Ilya Sherman
2014/09/11 05:32:14
nit: Suggested rephrasing; feel free to further im
ziran.sun
2014/09/22 13:46:33
Done.
|
+ 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_; |