summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/base_node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api/base_node.cc')
-rw-r--r--sync/internal_api/base_node.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync/internal_api/base_node.cc b/sync/internal_api/base_node.cc
index 8b6b25f..2859cd1 100644
--- a/sync/internal_api/base_node.cc
+++ b/sync/internal_api/base_node.cc
@@ -337,6 +337,11 @@ const sync_pb::DeviceInfoSpecifics& BaseNode::GetDeviceInfoSpecifics() const {
return GetEntitySpecifics().device_info();
}
+const sync_pb::ExperimentsSpecifics& BaseNode::GetExperimentsSpecifics() const {
+ DCHECK_EQ(GetModelType(), EXPERIMENTS);
+ return GetEntitySpecifics().experiments();
+}
+
const sync_pb::EntitySpecifics& BaseNode::GetEntitySpecifics() const {
return GetUnencryptedSpecifics(GetEntry());
}