| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 // Use the <code>chrome.autofillPrivate</code> API to add, remove, or update | 5 // Use the <code>chrome.autofillPrivate</code> API to add, remove, or update |
| 6 // autofill data from the settings UI. | 6 // autofill data from the settings UI. |
| 7 [use_movable_types=true]namespace autofillPrivate { | 7 namespace autofillPrivate { |
| 8 // Fields used as part of an address. | 8 // Fields used as part of an address. |
| 9 enum AddressField { | 9 enum AddressField { |
| 10 FULL_NAME, | 10 FULL_NAME, |
| 11 COMPANY_NAME, | 11 COMPANY_NAME, |
| 12 ADDRESS_LINES, | 12 ADDRESS_LINES, |
| 13 ADDRESS_LEVEL_1, | 13 ADDRESS_LEVEL_1, |
| 14 ADDRESS_LEVEL_2, | 14 ADDRESS_LEVEL_2, |
| 15 ADDRESS_LEVEL_3, | 15 ADDRESS_LEVEL_3, |
| 16 POSTAL_CODE, | 16 POSTAL_CODE, |
| 17 SORTING_CODE, | 17 SORTING_CODE, |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // |entries| The updated list of entries. | 221 // |entries| The updated list of entries. |
| 222 static void onAddressListChanged(AddressEntry[] entries); | 222 static void onAddressListChanged(AddressEntry[] entries); |
| 223 | 223 |
| 224 // Fired when the credit card list has changed, meaning that an entry has | 224 // Fired when the credit card list has changed, meaning that an entry has |
| 225 // been added, removed, or changed. | 225 // been added, removed, or changed. |
| 226 // | 226 // |
| 227 // |entries| The updated list of entries. | 227 // |entries| The updated list of entries. |
| 228 static void onCreditCardListChanged(CreditCardEntry[] entries); | 228 static void onCreditCardListChanged(CreditCardEntry[] entries); |
| 229 }; | 229 }; |
| 230 }; | 230 }; |
| OLD | NEW |