| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_EMAIL_FIELD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_EMAIL_FIELD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "components/autofill/browser/form_field.h" | 10 #include "components/autofill/core/browser/form_field.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 | 13 |
| 14 class EmailField : public FormField { | 14 class EmailField : public FormField { |
| 15 public: | 15 public: |
| 16 static FormField* Parse(AutofillScanner* scanner); | 16 static FormField* Parse(AutofillScanner* scanner); |
| 17 | 17 |
| 18 protected: | 18 protected: |
| 19 // FormField: | 19 // FormField: |
| 20 virtual bool ClassifyField(FieldTypeMap* map) const OVERRIDE; | 20 virtual bool ClassifyField(FieldTypeMap* map) const OVERRIDE; |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 explicit EmailField(const AutofillField* field); | 23 explicit EmailField(const AutofillField* field); |
| 24 | 24 |
| 25 const AutofillField* field_; | 25 const AutofillField* field_; |
| 26 | 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(EmailField); | 27 DISALLOW_COPY_AND_ASSIGN(EmailField); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace autofill | 30 } // namespace autofill |
| 31 | 31 |
| 32 #endif // COMPONENTS_AUTOFILL_BROWSER_EMAIL_FIELD_H_ | 32 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_EMAIL_FIELD_H_ |
| OLD | NEW |