Index: sync/internal_api/base_node.cc |
diff --git a/sync/internal_api/base_node.cc b/sync/internal_api/base_node.cc |
index f640532bdd95a1563d322bde69eaef626af8a6b1..559fdb46071cdf815cab1ddb8823c117be80b3cb 100644 |
--- a/sync/internal_api/base_node.cc |
+++ b/sync/internal_api/base_node.cc |
@@ -343,6 +343,12 @@ const sync_pb::ExperimentsSpecifics& BaseNode::GetExperimentsSpecifics() const { |
return GetEntitySpecifics().experiments(); |
} |
+const sync_pb::ControlPreferenceSpecifics& |
+ BaseNode::GetControlPreferenceSpecifics() const { |
+ DCHECK_EQ(GetModelType(), CONTROL_PREFERENCES); |
+ return GetEntitySpecifics().control_preference(); |
+} |
+ |
const sync_pb::EntitySpecifics& BaseNode::GetEntitySpecifics() const { |
return GetUnencryptedSpecifics(GetEntry()); |
} |