| Index: chrome/browser/autofill/phone_number.h
|
| ===================================================================
|
| --- chrome/browser/autofill/phone_number.h (revision 89739)
|
| +++ chrome/browser/autofill/phone_number.h (working copy)
|
| @@ -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 @@
|
|
|
| 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 @@
|
| // 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_
|
|
|