summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/personal_data_manager.h
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 21:20:15 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 21:20:15 +0000
commit9b435be91a7f625b984dc4a49bee1f3c43cd6f87 (patch)
tree4be834f1a88aef4ba9ff356615043b97e4ee9442 /chrome/browser/autofill/personal_data_manager.h
parente0b421291b0644eebf04660d993995e638251bf0 (diff)
downloadchromium_src-9b435be91a7f625b984dc4a49bee1f3c43cd6f87.zip
chromium_src-9b435be91a7f625b984dc4a49bee1f3c43cd6f87.tar.gz
chromium_src-9b435be91a7f625b984dc4a49bee1f3c43cd6f87.tar.bz2
AutoFill phone number parser changes.
Moved the PersonalDataManager::ParsePhoneNumber() method into the PhoneNumber class. Made some bug fixes to the parser. Extended its functionality to strip separator characters. Added unit tests to cover the parser. BUG=none TEST=PhoneNumberTest Review URL: http://codereview.chromium.org/669026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/personal_data_manager.h')
-rw-r--r--chrome/browser/autofill/personal_data_manager.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h
index 1dfbd1f..403d871 100644
--- a/chrome/browser/autofill/personal_data_manager.h
+++ b/chrome/browser/autofill/personal_data_manager.h
@@ -110,16 +110,6 @@ class PersonalDataManager : public WebDataServiceConsumer,
// This will create and reserve a new unique ID for a profile.
int CreateNextUniqueID(std::set<int>* unique_ids);
- // Parses value to extract the components of a phone number and adds them to
- // profile.
- //
- // TODO(jhawkins): Investigate if this can be moved to PhoneField.
- void ParsePhoneNumber(AutoFillProfile* profile,
- string16* value,
- AutoFillFieldType number,
- AutoFillFieldType city_code,
- AutoFillFieldType country_code) const;
-
// Loads the saved profiles from the web database.
void LoadProfiles();