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

Unified Diff: components/autofill/core/browser/autofill_type.h

Issue 21947003: [Autofill] Move FieldTypeGroup out of the AutofillType class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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: components/autofill/core/browser/autofill_type.h
diff --git a/components/autofill/core/browser/autofill_type.h b/components/autofill/core/browser/autofill_type.h
index c626dc094b630ff32b935c661c6116ab709b89c2..c85bea1589c9a3ca26b7db2cd895095af8950990 100644
--- a/components/autofill/core/browser/autofill_type.h
+++ b/components/autofill/core/browser/autofill_type.h
@@ -5,11 +5,8 @@
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_
-#include <map>
-#include <set>
#include <string>
-#include "base/strings/string16.h"
#include "components/autofill/core/browser/field_types.h"
namespace autofill {
@@ -18,19 +15,6 @@ namespace autofill {
// and for associating form fields with form values in the Web Database.
class AutofillType {
public:
- enum FieldTypeGroup {
- NO_GROUP,
- NAME,
- NAME_BILLING,
- EMAIL,
- COMPANY,
- ADDRESS_HOME,
- ADDRESS_BILLING,
- PHONE_HOME,
- PHONE_BILLING,
- CREDIT_CARD,
- };
-
explicit AutofillType(AutofillFieldType field_type);
AutofillType(const AutofillType& autofill_type);
AutofillType& operator=(const AutofillType& autofill_type);
@@ -56,10 +40,6 @@ class AutofillType {
AutofillFieldType field_type_;
};
-typedef AutofillType::FieldTypeGroup FieldTypeGroup;
-typedef std::set<AutofillFieldType> FieldTypeSet;
-typedef std::map<base::string16, AutofillFieldType> FieldTypeMap;
-
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_
« no previous file with comments | « components/autofill/core/browser/autofill_profile.cc ('k') | components/autofill/core/browser/autofill_type_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698