blob: ea7920283657a10882ac47344028b94b0b47621b [file] [log] [blame]
// 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_EMAIL_FIELD_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_
#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "components/autofill/core/browser/form_field.h"
namespace autofill {
class EmailField : public FormField {
public:
static std::unique_ptr<FormField> Parse(AutofillScanner* scanner);
explicit EmailField(const AutofillField* field);
protected:
void AddClassifications(FieldCandidatesMap* field_candidates) const override;
private:
const AutofillField* field_;
DISALLOW_COPY_AND_ASSIGN(EmailField);
};
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_