summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/form_types.h
blob: 2c36914c8268e6f9b2f1bb53102e3bb7e5ef4573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_TYPES_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_TYPES_H_

#include "components/autofill/core/browser/field_types.h"

namespace autofill {

enum FormType : int {
  UNKNOWN_FORM_TYPE,
  ADDRESS_FORM,
  CREDIT_CARD_FORM,
  PASSWORD_FORM
};

class FormTypes {
 public:
  static FormType FieldTypeGroupToFormType(FieldTypeGroup field_type_group);
};

}  // namespace autofill

#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_TYPES_H_