| Index: chrome/browser/sync/glue/password_model_associator.cc
|
| diff --git a/chrome/browser/sync/glue/password_model_associator.cc b/chrome/browser/sync/glue/password_model_associator.cc
|
| index 923ee7b16322a6b53bd0d4deca276e36a7d78075..ad6b83d74b3ee1323fb802e27e41a1406d22b060 100644
|
| --- a/chrome/browser/sync/glue/password_model_associator.cc
|
| +++ b/chrome/browser/sync/glue/password_model_associator.cc
|
| @@ -75,7 +75,7 @@ bool PasswordModelAssociator::AssociateModels() {
|
| std::string tag = MakeTag(**ix);
|
|
|
| sync_api::ReadNode node(&trans);
|
| - if (node.InitByClientTagLookup(syncable::PASSWORD, tag)) {
|
| + if (node.InitByClientTagLookup(syncable::PASSWORDS, tag)) {
|
| sync_pb::PasswordSpecificsData password;
|
| if (!node.GetPasswordSpecifics(&password)) {
|
| STLDeleteElements(&passwords);
|
| @@ -88,7 +88,7 @@ bool PasswordModelAssociator::AssociateModels() {
|
|
|
| if (MergePasswords(password, **ix, &new_password)) {
|
| sync_api::WriteNode write_node(&trans);
|
| - if (!write_node.InitByClientTagLookup(syncable::PASSWORD, tag)) {
|
| + if (!write_node.InitByClientTagLookup(syncable::PASSWORDS, tag)) {
|
| STLDeleteElements(&passwords);
|
| LOG(ERROR) << "Failed to edit password sync node.";
|
| return false;
|
| @@ -100,7 +100,7 @@ bool PasswordModelAssociator::AssociateModels() {
|
| Associate(&tag, node.GetId());
|
| } else {
|
| sync_api::WriteNode node(&trans);
|
| - if (!node.InitUniqueByCreation(syncable::PASSWORD,
|
| + if (!node.InitUniqueByCreation(syncable::PASSWORDS,
|
| password_root, tag)) {
|
| STLDeleteElements(&passwords);
|
| LOG(ERROR) << "Failed to create password sync node.";
|
|
|