diff options
Diffstat (limited to 'sync/internal_api/base_node.cc')
-rw-r--r-- | sync/internal_api/base_node.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sync/internal_api/base_node.cc b/sync/internal_api/base_node.cc index 88dec8c..f9bf79b 100644 --- a/sync/internal_api/base_node.cc +++ b/sync/internal_api/base_node.cc @@ -215,6 +215,10 @@ int64 BaseNode::GetFirstChildId() const { return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); } +void BaseNode::GetChildIds(std::vector<int64>* result) const { + GetEntry()->GetChildHandles(result); +} + int BaseNode::GetTotalNodeCount() const { syncable::BaseTransaction* trans = GetTransaction()->GetWrappedTrans(); |