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

Unified Diff: sync/protocol/autofill_specifics.proto

Issue 1110833002: [autofill] Sync server card and address metadata. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work Created 5 years, 7 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: sync/protocol/autofill_specifics.proto
diff --git a/sync/protocol/autofill_specifics.proto b/sync/protocol/autofill_specifics.proto
index 68547ae4b17853d1e6c329481bcd65de6716e52d..0310fd8e269e582b5c0e94a55adb077ae63dea57 100644
--- a/sync/protocol/autofill_specifics.proto
+++ b/sync/protocol/autofill_specifics.proto
@@ -171,3 +171,24 @@ message AutofillWalletSpecifics {
// This field exists if and only if the "type" field equals to ADDRESS.
optional WalletPostalAddress address = 3;
}
+
+// Wallet card and address usage information that can be synced.
+message WalletMetadataSpecifics {
+ enum Type {
+ UNKNOWN = 0;
+ CARD = 1;
+ ADDRESS = 2;
+ }
+
+ // The type of the Wallet metadata.
+ optional Type type = 1;
+
+ // Unique ID string of the corresponding Wallet data.
+ optional string id = 2;
+
+ // The number of times that this Wallet card or address was used.
+ optional int64 use_count = 3;
+
+ // The last use date of this Wallet card or address.
+ optional int64 use_date = 4;
+}

Powered by Google App Engine
This is Rietveld 408576698