diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:26:29 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:26:29 +0000 |
commit | 1ffe8e993e3052271b9a60f303bcbb8f3104d80b (patch) | |
tree | b5b01c65813c53fa4279907baa8aa8f1eb5d5480 /chrome/browser/autofill/autofill_profile.h | |
parent | daa826fee9fa5a59aa7b4bd82a1c6f2f4ae4a636 (diff) | |
download | chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.zip chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.tar.gz chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.tar.bz2 |
Reduce boxing and unboxing of AutofillFieldType
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6673079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_profile.h')
-rw-r--r-- | chrome/browser/autofill/autofill_profile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h index c3735c3..a80d062 100644 --- a/chrome/browser/autofill/autofill_profile.h +++ b/chrome/browser/autofill/autofill_profile.h @@ -36,14 +36,14 @@ class AutofillProfile : public FormGroup { virtual void GetPossibleFieldTypes(const string16& text, FieldTypeSet* possible_types) const; virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const; - virtual string16 GetFieldText(const AutofillType& type) const; + virtual string16 GetFieldText(AutofillFieldType type) const; // Returns true if the |value| matches the profile data corresponding to type. // If the type is UNKNOWN_TYPE then |value| will be matched against all of the // profile data. - virtual void FindInfoMatches(const AutofillType& type, + virtual void FindInfoMatches(AutofillFieldType type, const string16& value, std::vector<string16>* matched_text) const; - virtual void SetInfo(const AutofillType& type, const string16& value); + virtual void SetInfo(AutofillFieldType type, const string16& value); // The user-visible label of the profile, generated in relation to other // profiles. Shows at least 2 fields that differentiate profile from other |