Index: components/sync/driver/generic_change_processor.cc |
diff --git a/components/sync/driver/generic_change_processor.cc b/components/sync/driver/generic_change_processor.cc |
index f7abe0506bd0ca258640018106c4268b20db0024..55a17325d18ead37034da47b75e598c5fdce43ef 100644 |
--- a/components/sync/driver/generic_change_processor.cc |
+++ b/components/sync/driver/generic_change_processor.cc |
@@ -17,6 +17,7 @@ |
#include "components/sync/api/sync_change.h" |
#include "components/sync/api/sync_error.h" |
#include "components/sync/api/syncable_service.h" |
+#include "components/sync/base/passphrase_type.h" |
#include "components/sync/base/unrecoverable_error_handler.h" |
#include "components/sync/core/base_node.h" |
#include "components/sync/core/change_record.h" |
@@ -40,7 +41,10 @@ void SetNodeSpecifics(const sync_pb::EntitySpecifics& entity_specifics, |
if (syncer::GetModelTypeFromSpecifics(entity_specifics) == |
syncer::PASSWORDS) { |
write_node->SetPasswordSpecifics( |
- entity_specifics.password().client_only_encrypted_data()); |
+ entity_specifics.password().client_only_encrypted_data(), |
+ // TODO(melandory): Since PasswordsSpecifics care about passphrase type. |
+ // the real value should be passed here. |
+ syncer::PassphraseType::UNDEFINED); |
} else { |
write_node->SetEntitySpecifics(entity_specifics); |
} |