| 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_WEBDATA_AUTOFILL_TABLE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 class Time; | 24 class Time; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace autofill { | 27 namespace autofill { |
| 28 | 28 |
| 29 class AutofillChange; | 29 class AutofillChange; |
| 30 class AutofillEntry; | 30 class AutofillEntry; |
| 31 class AutofillProfile; | 31 class AutofillProfile; |
| 32 class AutofillTableEncryptor; |
| 32 class AutofillTableTest; | 33 class AutofillTableTest; |
| 33 class CreditCard; | 34 class CreditCard; |
| 34 | 35 |
| 35 struct FormFieldData; | 36 struct FormFieldData; |
| 36 | 37 |
| 37 // This class manages the various Autofill tables within the SQLite database | 38 // This class manages the various Autofill tables within the SQLite database |
| 38 // passed to the constructor. It expects the following schemas: | 39 // passed to the constructor. It expects the following schemas: |
| 39 // | 40 // |
| 40 // Note: The database stores time in seconds, UTC. | 41 // Note: The database stores time in seconds, UTC. |
| 41 // | 42 // |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 bool InitProfilePhonesTable(); | 540 bool InitProfilePhonesTable(); |
| 540 bool InitProfileTrashTable(); | 541 bool InitProfileTrashTable(); |
| 541 bool InitMaskedCreditCardsTable(); | 542 bool InitMaskedCreditCardsTable(); |
| 542 bool InitUnmaskedCreditCardsTable(); | 543 bool InitUnmaskedCreditCardsTable(); |
| 543 bool InitServerCardMetadataTable(); | 544 bool InitServerCardMetadataTable(); |
| 544 bool InitServerAddressesTable(); | 545 bool InitServerAddressesTable(); |
| 545 bool InitServerAddressMetadataTable(); | 546 bool InitServerAddressMetadataTable(); |
| 546 bool InitAutofillSyncMetadataTable(); | 547 bool InitAutofillSyncMetadataTable(); |
| 547 bool InitModelTypeStateTable(); | 548 bool InitModelTypeStateTable(); |
| 548 | 549 |
| 550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; |
| 551 |
| 549 DISALLOW_COPY_AND_ASSIGN(AutofillTable); | 552 DISALLOW_COPY_AND_ASSIGN(AutofillTable); |
| 550 }; | 553 }; |
| 551 | 554 |
| 552 } // namespace autofill | 555 } // namespace autofill |
| 553 | 556 |
| 554 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ | 557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ |
| OLD | NEW |