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

Unified Diff: components/webdata_services/web_data_service_wrapper.cc

Issue 2801513002: [Payments] Add web app manifest section table in SQLite web database (Closed)
Patch Set: fix nits Created 3 years, 8 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/webdata_services/web_data_service_wrapper.cc
diff --git a/components/webdata_services/web_data_service_wrapper.cc b/components/webdata_services/web_data_service_wrapper.cc
index a8ff689fe4836b1adf07310d24d89418b6f93ea7..738162f2bc249d5109d1c0aaa198435f3c96b6fc 100644
--- a/components/webdata_services/web_data_service_wrapper.cc
+++ b/components/webdata_services/web_data_service_wrapper.cc
@@ -19,6 +19,7 @@
#include "components/autofill/core/browser/webdata/autofill_wallet_syncable_service.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
#include "components/password_manager/core/browser/webdata/logins_table.h"
+#include "components/payments/content/payment_manifest_section_table.h"
#include "components/search_engines/keyword_table.h"
#include "components/search_engines/keyword_web_data_service.h"
#include "components/signin/core/browser/webdata/token_service_table.h"
@@ -93,6 +94,8 @@ WebDataServiceWrapper::WebDataServiceWrapper(
// the old logins table. We can remove this after a while, e.g. in M22 or so.
web_database_->AddTable(base::WrapUnique(new LoginsTable));
web_database_->AddTable(base::WrapUnique(new TokenServiceTable));
+ web_database_->AddTable(
+ base::MakeUnique<payments::PaymentManifestSectionTable>());
Peter Kasting 2017/04/06 19:04:36 Thanks for using MakeUnique! Optional: While here
gogerald1 2017/04/07 17:51:07 Done.
web_database_->LoadDatabase();
autofill_web_data_ = new autofill::AutofillWebDataService(

Powered by Google App Engine
This is Rietveld 408576698