Index: components/sync/protocol/proto_value_conversions_unittest.cc |
diff --git a/components/sync/protocol/proto_value_conversions_unittest.cc b/components/sync/protocol/proto_value_conversions_unittest.cc |
index fd8cee020f9ff6bdd5ab67b5057638fe24db3bb1..9015e5c344053250e2705ac6aa51952b4fae47db 100644 |
--- a/components/sync/protocol/proto_value_conversions_unittest.cc |
+++ b/components/sync/protocol/proto_value_conversions_unittest.cc |
@@ -92,6 +92,13 @@ TEST_F(ProtoValueConversionsTest, NavigationRedirectToValue) { |
TestSpecificsToValue(NavigationRedirectToValue); |
} |
+TEST_F(ProtoValueConversionsTest, PasswordSpecifics) { |
+ sync_pb::PasswordSpecifics specifics; |
+ specifics.mutable_client_only_encrypted_data(); |
+ auto value = PasswordSpecificsToValue(specifics); |
+ EXPECT_FALSE(value->Get("client_only_encrypted_data", nullptr)); |
+} |
+ |
TEST_F(ProtoValueConversionsTest, PasswordSpecificsData) { |
sync_pb::PasswordSpecificsData specifics; |
specifics.set_password_value("secret"); |