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

Unified Diff: sync/protocol/autofill_specifics.proto

Issue 1140653006: [sync] Add WalletMetadataSpecifics protobuf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | sync/protocol/proto_enum_conversions.h » ('j') | sync/protocol/sync.proto » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/autofill_specifics.proto
diff --git a/sync/protocol/autofill_specifics.proto b/sync/protocol/autofill_specifics.proto
index 68547ae4b17853d1e6c329481bcd65de6716e52d..4bef98d2eac3f2e00c4692965073520861dca3a7 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.
Nicolas Zea 2015/05/20 21:41:45 nit: Information about how it's generated?
please use gerrit instead 2015/05/20 23:37:39 Done.
+ 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;
Nicolas Zea 2015/05/20 21:41:45 nit: What are the units for this? Milliseconds sin
please use gerrit instead 2015/05/20 23:37:39 Done.
please use gerrit instead 2015/05/20 23:39:12 As documented here: https://code.google.com/p/chro
+}
« no previous file with comments | « no previous file | sync/protocol/proto_enum_conversions.h » ('j') | sync/protocol/sync.proto » ('J')

Powered by Google App Engine
This is Rietveld 408576698