| Index: sync/engine/apply_updates_command_unittest.cc
|
| diff --git a/sync/engine/apply_updates_command_unittest.cc b/sync/engine/apply_updates_command_unittest.cc
|
| index 5e14c59e4761ef0b2251a47f3c29299c940de5b4..04df2bf3e18f8107e84ec112ed788d0d8ddfb174 100644
|
| --- a/sync/engine/apply_updates_command_unittest.cc
|
| +++ b/sync/engine/apply_updates_command_unittest.cc
|
| @@ -536,7 +536,7 @@ TEST_F(ApplyUpdatesCommandTest, NigoriUpdate) {
|
|
|
| sync_pb::EntitySpecifics specifics;
|
| sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori();
|
| - other_cryptographer.GetKeys(nigori->mutable_encrypted());
|
| + other_cryptographer.GetKeys(nigori->mutable_encryption_keybag());
|
| nigori->set_encrypt_everything(true);
|
| entry_factory_->CreateUnappliedNewItem(
|
| ModelTypeToRootTag(NIGORI), specifics, true);
|
| @@ -586,7 +586,7 @@ TEST_F(ApplyUpdatesCommandTest, NigoriUpdateForDisabledTypes) {
|
|
|
| sync_pb::EntitySpecifics specifics;
|
| sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori();
|
| - other_cryptographer.GetKeys(nigori->mutable_encrypted());
|
| + other_cryptographer.GetKeys(nigori->mutable_encryption_keybag());
|
| nigori->set_encrypt_everything(true);
|
| entry_factory_->CreateUnappliedNewItem(
|
| ModelTypeToRootTag(NIGORI), specifics, true);
|
| @@ -666,7 +666,7 @@ TEST_F(ApplyUpdatesCommandTest, EncryptUnsyncedChanges) {
|
| cryptographer->AddKey(params);
|
| sync_pb::EntitySpecifics specifics;
|
| sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori();
|
| - cryptographer->GetKeys(nigori->mutable_encrypted());
|
| + cryptographer->GetKeys(nigori->mutable_encryption_keybag());
|
| nigori->set_encrypt_everything(true);
|
| encrypted_types.Put(BOOKMARKS);
|
| entry_factory_->CreateUnappliedNewItem(
|
| @@ -808,7 +808,7 @@ TEST_F(ApplyUpdatesCommandTest, CannotEncryptUnsyncedChanges) {
|
| other_cryptographer.AddKey(params);
|
| sync_pb::EntitySpecifics specifics;
|
| sync_pb::NigoriSpecifics* nigori = specifics.mutable_nigori();
|
| - other_cryptographer.GetKeys(nigori->mutable_encrypted());
|
| + other_cryptographer.GetKeys(nigori->mutable_encryption_keybag());
|
| nigori->set_encrypt_everything(true);
|
| encrypted_types.Put(BOOKMARKS);
|
| entry_factory_->CreateUnappliedNewItem(
|
|
|