| Index: sync/internal_api/base_node.cc
|
| diff --git a/sync/internal_api/base_node.cc b/sync/internal_api/base_node.cc
|
| index 9595d293456a7f87b9fc93c4aef6edcffa667d43..37e7417cdb46d58288b76cba486a415c7bee3e1c 100644
|
| --- a/sync/internal_api/base_node.cc
|
| +++ b/sync/internal_api/base_node.cc
|
| @@ -332,6 +332,16 @@ const sync_pb::SessionSpecifics& BaseNode::GetSessionSpecifics() const {
|
| return GetEntitySpecifics().session();
|
| }
|
|
|
| +const sync_pb::PerDeviceSpecifics& BaseNode::GetPerDeviceSpecifics() const {
|
| + DCHECK_EQ(GetModelType(), PER_DEVICE_METADATA);
|
| + return GetEntitySpecifics().per_device_metadata();
|
| +}
|
| +
|
| +const sync_pb::PerUserSpecifics& BaseNode::GetPerUserSpecifics() const {
|
| + DCHECK_EQ(GetModelType(), PER_USER_METADATA);
|
| + return GetEntitySpecifics().per_user_metadata();
|
| +}
|
| +
|
| const sync_pb::EntitySpecifics& BaseNode::GetEntitySpecifics() const {
|
| return GetUnencryptedSpecifics(GetEntry());
|
| }
|
|
|