Chromium Code Reviews| Index: components/autofill/core/browser/webdata/autofill_table.h |
| diff --git a/components/autofill/core/browser/webdata/autofill_table.h b/components/autofill/core/browser/webdata/autofill_table.h |
| index dc08b9b5ea82832be36792708e28d5e772ca7227..122a808cb5ac8e5036fce3c8aedb8a2e471e97ff 100644 |
| --- a/components/autofill/core/browser/webdata/autofill_table.h |
| +++ b/components/autofill/core/browser/webdata/autofill_table.h |
| @@ -29,6 +29,7 @@ namespace autofill { |
| class AutofillChange; |
| class AutofillEntry; |
| class AutofillProfile; |
| +class AutofillTableEncryptor; |
| class AutofillTableTest; |
| class CreditCard; |
| @@ -251,6 +252,8 @@ struct FormFieldData; |
| class AutofillTable : public WebDatabaseTable { |
| public: |
| AutofillTable(); |
| + explicit AutofillTable( |
| + std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor); |
|
Roger McFarlane (Chromium)
2017/02/22 23:46:26
delete?
devarajn
2017/02/22 23:53:56
Damn me!
Rushed to get "lgtm" from you :)
|
| ~AutofillTable() override; |
| // Retrieves the AutofillTable* owned by |db|. |
| @@ -546,6 +549,8 @@ class AutofillTable : public WebDatabaseTable { |
| bool InitAutofillSyncMetadataTable(); |
| bool InitModelTypeStateTable(); |
| + std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AutofillTable); |
| }; |