Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / autofill / core / browser / email_field.h
blob4e270a18bc6c29854d3737e51311c0918981ad4c
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/autofill/core/browser/form_field.h"
12 namespace autofill {
14 class EmailField : public FormField {
15 public:
16 static FormField* Parse(AutofillScanner* scanner);
18 protected:
19 // FormField:
20 virtual bool ClassifyField(ServerFieldTypeMap* map) const OVERRIDE;
22 private:
23 explicit EmailField(const AutofillField* field);
25 const AutofillField* field_;
27 DISALLOW_COPY_AND_ASSIGN(EmailField);
30 } // namespace autofill
32 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_