diff options
Diffstat (limited to 'chrome/browser/autofill/phone_number.h')
-rw-r--r-- | chrome/browser/autofill/phone_number.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h index fb47f18..cd168c9 100644 --- a/chrome/browser/autofill/phone_number.h +++ b/chrome/browser/autofill/phone_number.h @@ -13,6 +13,7 @@ #include "base/string16.h" #include "chrome/browser/autofill/autofill_type.h" #include "chrome/browser/autofill/form_group.h" +#include "chrome/browser/autofill/phone_number_i18n.h" // A form group that stores phone number information. class PhoneNumber : public FormGroup { @@ -84,11 +85,6 @@ class PhoneNumber : public FormGroup { static void StripPunctuation(string16* number); - void ClearCachedNumbers() const; - // Updates cached parsed parts of the number. Returns false only if there was - // parsing involved and it failed. - bool UpdateCacheIfNeeded() const; - // Phone group - currently it is PHONE_HOME and PHONE_FAX. AutofillType::FieldTypeGroup phone_group_; // Locale for phone normalizing. @@ -96,10 +92,8 @@ class PhoneNumber : public FormGroup { // The phone number. string16 number_; - // Cached parsed parts of the number. - mutable string16 cached_country_code_; - mutable string16 cached_city_code_; - mutable string16 cached_local_number_; + // Cached number. + autofill_i18n::PhoneObject cached_parsed_phone_; }; #endif // CHROME_BROWSER_AUTOFILL_PHONE_NUMBER_H_ |