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

Unified Diff: components/autofill/core/browser/webdata/autofill_webdata_service.cc

Issue 2679803002: Revert "[Payments] Add billing_address_id and has_converted to autofill_table" (Closed)
Patch Set: 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_webdata_service.cc
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_service.cc b/components/autofill/core/browser/webdata/autofill_webdata_service.cc
index d8d072f0d435709fca1db61934ef81a7c9a645d2..22377e9e3af4a89c2c34ab9c6188bfae4117beee 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_webdata_service.cc
@@ -212,18 +212,28 @@ void AutofillWebDataService::ClearAllServerData() {
autofill_backend_));
}
-void AutofillWebDataService::UpdateServerCardMetadata(
+void AutofillWebDataService::UpdateServerCardUsageStats(
const CreditCard& credit_card) {
wdbs_->ScheduleDBTask(
- FROM_HERE, Bind(&AutofillWebDataBackendImpl::UpdateServerCardMetadata,
- autofill_backend_, credit_card));
+ FROM_HERE,
+ Bind(&AutofillWebDataBackendImpl::UpdateServerCardUsageStats,
+ autofill_backend_, credit_card));
}
-void AutofillWebDataService::UpdateServerAddressMetadata(
+void AutofillWebDataService::UpdateServerAddressUsageStats(
const AutofillProfile& profile) {
wdbs_->ScheduleDBTask(
- FROM_HERE, Bind(&AutofillWebDataBackendImpl::UpdateServerAddressMetadata,
- autofill_backend_, profile));
+ FROM_HERE,
+ Bind(&AutofillWebDataBackendImpl::UpdateServerAddressUsageStats,
+ autofill_backend_, profile));
+}
+
+void AutofillWebDataService::UpdateServerCardBillingAddress(
+ const CreditCard& credit_card) {
+ wdbs_->ScheduleDBTask(
+ FROM_HERE,
+ Bind(&AutofillWebDataBackendImpl::UpdateServerCardBillingAddress,
+ autofill_backend_, credit_card));
}
void AutofillWebDataService::RemoveAutofillDataModifiedBetween(
« no previous file with comments | « components/autofill/core/browser/webdata/autofill_webdata_service.h ('k') | components/test/data/web_database/version_70.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698