| Index: components/sync/protocol/proto_value_conversions.cc
|
| diff --git a/components/sync/protocol/proto_value_conversions.cc b/components/sync/protocol/proto_value_conversions.cc
|
| index 63850c9265313d6951836e3f0f131e76e930fa48..149b0deb2a10be1b03e1b2c5a82af7678d950c77 100644
|
| --- a/components/sync/protocol/proto_value_conversions.cc
|
| +++ b/components/sync/protocol/proto_value_conversions.cc
|
| @@ -85,6 +85,20 @@ class ToValueVisitor {
|
| }
|
| }
|
|
|
| + // Customized
|
| + template <class P>
|
| + void Visit(P& proto, const char* field_name,
|
| + const sync_pb::EnhancedBookmarksFlags& field_value) {
|
| + // Obsolete, don't visit
|
| + }
|
| +
|
| + // Customized
|
| + template <class P>
|
| + void Visit(P& proto, const char* field_name,
|
| + const sync_pb::WalletSyncFlags& field_value) {
|
| + // Obsolete, don't visit
|
| + }
|
| +
|
| template <class P>
|
| static std::unique_ptr<base::DictionaryValue> Visit(
|
| const P& proto,
|
| @@ -112,7 +126,7 @@ class ToValueVisitor {
|
| // Customized
|
| void VisitProto(const sync_pb::PasswordSpecificsData& proto) {
|
| VisitProtoFields(*this, proto);
|
| - Visit(proto, "password_value", std::string("<redacted>"));
|
| + value_->SetString("password_value", "<redacted>");
|
| }
|
|
|
| // Customized
|
|
|