| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_CORE_BROWSER_ADDRESS_FIELD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 AddressField(); | 43 AddressField(); |
| 44 | 44 |
| 45 bool ParseCompany(AutofillScanner* scanner); | 45 bool ParseCompany(AutofillScanner* scanner); |
| 46 bool ParseAddressLines(AutofillScanner* scanner); | 46 bool ParseAddressLines(AutofillScanner* scanner); |
| 47 bool ParseCountry(AutofillScanner* scanner); | 47 bool ParseCountry(AutofillScanner* scanner); |
| 48 bool ParseZipCode(AutofillScanner* scanner); | 48 bool ParseZipCode(AutofillScanner* scanner); |
| 49 bool ParseCity(AutofillScanner* scanner); | 49 bool ParseCity(AutofillScanner* scanner); |
| 50 bool ParseState(AutofillScanner* scanner); | 50 bool ParseState(AutofillScanner* scanner); |
| 51 | 51 |
| 52 const AutofillField* company_; | 52 AutofillField* company_; |
| 53 const AutofillField* address1_; | 53 AutofillField* address1_; |
| 54 const AutofillField* address2_; | 54 AutofillField* address2_; |
| 55 const AutofillField* street_address_; | 55 AutofillField* street_address_; |
| 56 const AutofillField* city_; | 56 AutofillField* city_; |
| 57 const AutofillField* state_; | 57 AutofillField* state_; |
| 58 const AutofillField* zip_; | 58 AutofillField* zip_; |
| 59 const AutofillField* zip4_; // optional ZIP+4; we don't fill this yet. | 59 AutofillField* zip4_; // optional ZIP+4; we don't fill this yet. |
| 60 const AutofillField* country_; | 60 AutofillField* country_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(AddressField); | 62 DISALLOW_COPY_AND_ASSIGN(AddressField); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace autofill | 65 } // namespace autofill |
| 66 | 66 |
| 67 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_ | 67 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_FIELD_H_ |
| OLD | NEW |