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..7516acdb99e1545608f378c453ed368fcb3d9fbf 100644 |
--- a/components/autofill/core/browser/webdata/autofill_table.h |
+++ b/components/autofill/core/browser/webdata/autofill_table.h |
@@ -14,6 +14,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
#include "base/strings/string16.h" |
+#include "components/autofill/core/browser/webdata/autofill_table_encryptor.h" |
#include "components/sync/base/model_type.h" |
#include "components/sync/model/metadata_batch.h" |
#include "components/webdata/common/web_database_table.h" |
@@ -251,6 +252,8 @@ struct FormFieldData; |
class AutofillTable : public WebDatabaseTable { |
public: |
AutofillTable(); |
+ AutofillTable( |
+ std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor); |
~AutofillTable() override; |
// Retrieves the AutofillTable* owned by |db|. |
@@ -467,6 +470,8 @@ class AutofillTable : public WebDatabaseTable { |
static const size_t kMaxDataLength; |
private: |
+ std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; |
+ |
FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill); |
FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, Autofill_AddChanges); |
FRIEND_TEST_ALL_PREFIXES( |