| Index: sync/internal_api/write_node.cc
|
| diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc
|
| index 22d7e5f248b7d613813ffb51b6bd67837fad5c1b..732a75fbab68eb790e9af0eabbb52e663ce1566c 100644
|
| --- a/sync/internal_api/write_node.cc
|
| +++ b/sync/internal_api/write_node.cc
|
| @@ -190,6 +190,20 @@ void WriteNode::SetSessionSpecifics(
|
| SetEntitySpecifics(entity_specifics);
|
| }
|
|
|
| +void WriteNode::SetPerDeviceSpecifics(
|
| + const sync_pb::PerDeviceSpecifics& new_value) {
|
| + sync_pb::EntitySpecifics entity_specifics;
|
| + entity_specifics.mutable_per_device_metadata()->CopyFrom(new_value);
|
| + SetEntitySpecifics(entity_specifics);
|
| +}
|
| +
|
| +void WriteNode::SetPerUserSpecifics(
|
| + const sync_pb::PerUserSpecifics& new_value) {
|
| + sync_pb::EntitySpecifics entity_specifics;
|
| + entity_specifics.mutable_per_user_metadata()->CopyFrom(new_value);
|
| + SetEntitySpecifics(entity_specifics);
|
| +}
|
| +
|
| void WriteNode::SetEntitySpecifics(
|
| const sync_pb::EntitySpecifics& new_value) {
|
| ModelType new_specifics_type =
|
|
|