| 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 // testing only. | 510 // testing only. |
| 511 bool AddFormFieldValuesTime( | 511 bool AddFormFieldValuesTime( |
| 512 const std::vector<FormFieldData>& elements, | 512 const std::vector<FormFieldData>& elements, |
| 513 std::vector<AutofillChange>* changes, | 513 std::vector<AutofillChange>* changes, |
| 514 base::Time time); | 514 base::Time time); |
| 515 bool AddFormFieldValueTime(const FormFieldData& element, | 515 bool AddFormFieldValueTime(const FormFieldData& element, |
| 516 std::vector<AutofillChange>* changes, | 516 std::vector<AutofillChange>* changes, |
| 517 base::Time time); | 517 base::Time time); |
| 518 | 518 |
| 519 bool GetAllSyncEntityMetadata(syncer::ModelType model_type, | 519 bool GetAllSyncEntityMetadata(syncer::ModelType model_type, |
| 520 syncer::EntityMetadataMap* metadata_records); | 520 syncer::MetadataBatch* metadata_batch); |
| 521 | 521 |
| 522 bool GetModelTypeState(syncer::ModelType model_type, | 522 bool GetModelTypeState(syncer::ModelType model_type, |
| 523 sync_pb::ModelTypeState* state); | 523 sync_pb::ModelTypeState* state); |
| 524 | 524 |
| 525 // Insert a single AutofillEntry into the autofill table. | 525 // Insert a single AutofillEntry into the autofill table. |
| 526 bool InsertAutofillEntry(const AutofillEntry& entry); | 526 bool InsertAutofillEntry(const AutofillEntry& entry); |
| 527 | 527 |
| 528 // Checks if the trash is empty. | 528 // Checks if the trash is empty. |
| 529 bool IsAutofillProfilesTrashEmpty(); | 529 bool IsAutofillProfilesTrashEmpty(); |
| 530 | 530 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 548 bool InitModelTypeStateTable(); | 548 bool InitModelTypeStateTable(); |
| 549 | 549 |
| 550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; | 550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; |
| 551 | 551 |
| 552 DISALLOW_COPY_AND_ASSIGN(AutofillTable); | 552 DISALLOW_COPY_AND_ASSIGN(AutofillTable); |
| 553 }; | 553 }; |
| 554 | 554 |
| 555 } // namespace autofill | 555 } // namespace autofill |
| 556 | 556 |
| 557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ | 557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ |
| OLD | NEW |