| Index: components/autofill/core/browser/phone_number_i18n.h
|
| diff --git a/components/autofill/core/browser/phone_number_i18n.h b/components/autofill/core/browser/phone_number_i18n.h
|
| index 3fcc824280ad5088bfc9cadc4eb5a881d269deb6..0e0549e3167f71ba78029efa47ffc3f2d979c5be 100644
|
| --- a/components/autofill/core/browser/phone_number_i18n.h
|
| +++ b/components/autofill/core/browser/phone_number_i18n.h
|
| @@ -64,6 +64,12 @@ bool PhoneNumbersMatch(const base::string16& number_a,
|
| const std::string& region,
|
| const std::string& app_locale);
|
|
|
| +// Takes a phone number provided by a user and returns a string formatted for
|
| +// display in the national format of the region defined by |region|. If
|
| +// the phone number could not be parsed this may return an empty string.
|
| +base::string16 FormatPhoneNumberForRegion(const base::string16& whole_number,
|
| + const std::string& region);
|
| +
|
| // The cached phone number, does parsing only once, improves performance.
|
| class PhoneObject {
|
| public:
|
|
|