| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_EMAIL_FIELD_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_EMAIL_FIELD_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "chrome/browser/autofill/form_field.h" | |
| 11 | |
| 12 class EmailField : public FormField { | |
| 13 public: | |
| 14 static FormField* Parse(AutofillScanner* scanner); | |
| 15 | |
| 16 protected: | |
| 17 // FormField: | |
| 18 virtual bool ClassifyField(FieldTypeMap* map) const OVERRIDE; | |
| 19 | |
| 20 private: | |
| 21 explicit EmailField(const AutofillField* field); | |
| 22 | |
| 23 const AutofillField* field_; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(EmailField); | |
| 26 }; | |
| 27 | |
| 28 #endif // CHROME_BROWSER_AUTOFILL_EMAIL_FIELD_H_ | |
| OLD | NEW |