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

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

Issue 1042353003: Create syncable metadata table for Wallet credit cards and addresses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment about migration code Created 5 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/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
index 50f510aa283ccfe8930db09757c0ab346974fffc..18c54f7b74c9d1b807881c0eb1f29716319a3ddb 100644
--- a/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
+++ b/components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h
@@ -137,16 +137,20 @@ class AutofillWebDataBackendImpl
// Server credit cards can be masked (only last 4 digits stored) or unmasked
// (all data stored). These toggle between the two states.
- WebDatabase::State UnmaskServerCreditCard(const std::string& id,
+ WebDatabase::State UnmaskServerCreditCard(const CreditCard& card,
const base::string16& full_number,
WebDatabase* db);
WebDatabase::State MaskServerCreditCard(const std::string& id,
WebDatabase* db);
- WebDatabase::State UpdateUnmaskedCardUsageStats(
+ WebDatabase::State UpdateServerCardUsageStats(
const CreditCard& credit_card,
WebDatabase* db);
+ WebDatabase::State UpdateServerAddressUsageStats(
+ const AutofillProfile& profile,
+ WebDatabase* db);
+
WebDatabase::State ClearAllServerData(WebDatabase* db);
// Removes Autofill records from the database. Valid only for local

Powered by Google App Engine
This is Rietveld 408576698