| 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_AUTOFILL_COUNTRY_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COUNTRY_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COUNTRY_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COUNTRY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 | 13 |
| 14 namespace autofill { | 14 namespace autofill { |
| 15 | 15 |
| 16 // The minimal required fields for an address to be complete for a given | 16 // The minimal required fields for an address to be complete for a given |
| 17 // country. | 17 // country. |
| 18 enum AddressRequiredFields { | 18 enum AddressRequiredFields { |
| 19 ADDRESS_REQUIRES_CITY = 1 << 0, | 19 ADDRESS_REQUIRES_CITY = 1 << 0, |
| 20 ADDRESS_REQUIRES_STATE = 1 << 1, | 20 ADDRESS_REQUIRES_STATE = 1 << 1, |
| 21 ADDRESS_REQUIRES_ZIP = 1 << 2, | 21 ADDRESS_REQUIRES_ZIP = 1 << 2, |
| 22 | 22 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 // Address requirement field codes for the country. | 102 // Address requirement field codes for the country. |
| 103 AddressRequiredFields address_required_fields_; | 103 AddressRequiredFields address_required_fields_; |
| 104 | 104 |
| 105 DISALLOW_COPY_AND_ASSIGN(AutofillCountry); | 105 DISALLOW_COPY_AND_ASSIGN(AutofillCountry); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace autofill | 108 } // namespace autofill |
| 109 | 109 |
| 110 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COUNTRY_H_ | 110 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_COUNTRY_H_ |
| OLD | NEW |