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

Unified Diff: chrome/browser/autofill/address.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 | « no previous file | chrome/browser/autofill/address.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/address.h
diff --git a/chrome/browser/autofill/address.h b/chrome/browser/autofill/address.h
index 6e33878f38bf2d144ba35fd4360e34bd4771da0f..009451b3f12ae2d9a23fe598eb76295a7d889691 100644
--- a/chrome/browser/autofill/address.h
+++ b/chrome/browser/autofill/address.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/string16.h"
+#include "chrome/browser/autofill/autofill_type.h"
#include "chrome/browser/autofill/form_group.h"
// A form group that stores address information.
@@ -25,11 +26,11 @@ class Address : public FormGroup {
virtual void GetPossibleFieldTypes(const string16& text,
FieldTypeSet* possible_types) const;
virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const;
- virtual void FindInfoMatches(const AutofillType& type,
+ virtual void FindInfoMatches(AutofillFieldType type,
const string16& info,
std::vector<string16>* matched_text) const;
- virtual string16 GetFieldText(const AutofillType& type) const;
- virtual void SetInfo(const AutofillType& type, const string16& value);
+ virtual string16 GetFieldText(AutofillFieldType type) const;
+ virtual void SetInfo(AutofillFieldType type, const string16& value);
const std::string& country_code() const { return country_code_; }
void set_country_code(const std::string& country_code) {
« no previous file with comments | « no previous file | chrome/browser/autofill/address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698