Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 2698103002: Allow embedder to use custom cryptography in Autofill table. (Closed)
Patch Set: Allow embedder to use custom cryptography in Autofill table. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698