Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: chrome/browser/autofill/autofill_profile.h

Issue 6673079: Reduce boxing and unboxing of AutofillFieldType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/autofill_merge_unittest.cc ('k') | chrome/browser/autofill/autofill_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_profile.h
diff --git a/chrome/browser/autofill/autofill_profile.h b/chrome/browser/autofill/autofill_profile.h
index c3735c325bb145601783c362ee5aa43efef4afab..a80d062bb479b9012c2ea4cffc438c8404c9591a 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
« no previous file with comments | « chrome/browser/autofill/autofill_merge_unittest.cc ('k') | chrome/browser/autofill/autofill_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698