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

Unified Diff: chrome/browser/autofill/autofill_manager.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
Index: chrome/browser/autofill/autofill_manager.h
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index 42f158f6f00354277599a06dfd565f1ad0245509..219f672cf918c80781fd201ebb2b5f42cfb7d0da 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -139,7 +139,7 @@ class AutofillManager : public TabContentsObserver,
// is filled with the Profile label.
void GetProfileSuggestions(FormStructure* form,
const webkit_glue::FormField& field,
- AutofillType type,
+ AutofillFieldType type,
std::vector<string16>* values,
std::vector<string16>* labels,
std::vector<string16>* icons,
@@ -149,7 +149,7 @@ class AutofillManager : public TabContentsObserver,
// the value of |field| and returns the labels of the matching credit cards.
void GetCreditCardSuggestions(FormStructure* form,
const webkit_glue::FormField& field,
- AutofillType type,
+ AutofillFieldType type,
std::vector<string16>* values,
std::vector<string16>* labels,
std::vector<string16>* icons,
@@ -158,18 +158,18 @@ class AutofillManager : public TabContentsObserver,
// Set |field| argument's value based on |type| and contents of the
// |credit_card|.
void FillCreditCardFormField(const CreditCard* credit_card,
- AutofillType type,
+ AutofillFieldType type,
webkit_glue::FormField* field);
// Set |field| argument's value based on |type| and contents of the |profile|.
void FillFormField(const AutofillProfile* profile,
- AutofillType type,
+ AutofillFieldType type,
webkit_glue::FormField* field);
// Set |field| argument's value for phone/fax number based on contents of the
// |profile|. |type| is the type of the phone.
void FillPhoneNumberField(const AutofillProfile* profile,
- AutofillType type,
+ AutofillFieldType type,
webkit_glue::FormField* field);
// Parses the forms using heuristic matching and querying the Autofill server.
« no previous file with comments | « chrome/browser/autofill/autofill_ie_toolbar_import_win_unittest.cc ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698