Rename GetIconID to GetIconId
[chromium-blink-merge.git] / components / autofill / core / browser / email_field.h
blob5525550c6223e06138bb896a721a5c51f36680b2
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 "base/memory/scoped_ptr.h"
11 #include "components/autofill/core/browser/form_field.h"
13 namespace autofill {
15 class EmailField : public FormField {
16 public:
17 static scoped_ptr<FormField> Parse(AutofillScanner* scanner);
19 protected:
20 // FormField:
21 bool ClassifyField(ServerFieldTypeMap* map) const override;
23 private:
24 explicit EmailField(const AutofillField* field);
26 const AutofillField* field_;
28 DISALLOW_COPY_AND_ASSIGN(EmailField);
31 } // namespace autofill
33 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_