diff options
author | gcasto@chromium.org <gcasto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-16 23:52:47 +0000 |
---|---|---|
committer | gcasto@chromium.org <gcasto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-16 23:52:47 +0000 |
commit | 50b17e1fe107e7a8a0c9d33873cf4b3b289950da (patch) | |
tree | 14101092a202d38396d03bd3467c6c0098196967 /sync | |
parent | eaa1bbde0bfc1a6e3dae55139cb6a26f6db5d8e5 (diff) | |
download | chromium_src-50b17e1fe107e7a8a0c9d33873cf4b3b289950da.zip chromium_src-50b17e1fe107e7a8a0c9d33873cf4b3b289950da.tar.gz chromium_src-50b17e1fe107e7a8a0c9d33873cf4b3b289950da.tar.bz2 |
Sync type and times_used in autofill::PasswordForm.
BUG=
Review URL: https://codereview.chromium.org/189743002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/protocol/password_specifics.proto | 5 | ||||
-rw-r--r-- | sync/protocol/proto_value_conversions.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sync/protocol/password_specifics.proto b/sync/protocol/password_specifics.proto index ad5a512..218bad4 100644 --- a/sync/protocol/password_specifics.proto +++ b/sync/protocol/password_specifics.proto @@ -17,7 +17,8 @@ package sync_pb; import "encryption.proto"; // These are the properties that get serialized into the |encrypted| field of -// PasswordSpecifics. +// PasswordSpecifics. They correspond to fields in autofill::PasswordForm. See +// components/autofill/core/common/password_form.h for more details. message PasswordSpecificsData { optional int32 scheme = 1; optional string signon_realm = 2; @@ -31,6 +32,8 @@ message PasswordSpecificsData { optional bool preferred = 10; optional int64 date_created = 11; optional bool blacklisted = 12; + optional int32 type = 13; + optional int32 times_used = 14; } // Properties of password sync objects. diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc index 04c5f06..fe6236b 100644 --- a/sync/protocol/proto_value_conversions.cc +++ b/sync/protocol/proto_value_conversions.cc @@ -223,6 +223,8 @@ base::DictionaryValue* PasswordSpecificsDataToValue( SET_BOOL(preferred); SET_INT64(date_created); SET_BOOL(blacklisted); + SET_INT32(type); + SET_INT32(times_used); return value; } |