Index: chrome/browser/sync/internal_api/base_node.h |
diff --git a/chrome/browser/sync/internal_api/base_node.h b/chrome/browser/sync/internal_api/base_node.h |
index a2286c3e0f32efae11ceed5a2b5621539b7b2de4..362fdc39d98c0a1b78afbcc344f1893fcb612d9d 100644 |
--- a/chrome/browser/sync/internal_api/base_node.h |
+++ b/chrome/browser/sync/internal_api/base_node.h |
@@ -156,17 +156,20 @@ class BaseNode { |
// Returns the local external ID associated with the node. |
int64 GetExternalId() const; |
+ // Returns true iff this node has children. |
+ bool HasChildren() const; |
+ |
// Return the ID of the node immediately before this in the sibling order. |
// For the first node in the ordering, return 0. |
int64 GetPredecessorId() const; |
// Return the ID of the node immediately after this in the sibling order. |
// For the last node in the ordering, return 0. |
- virtual int64 GetSuccessorId() const; |
+ int64 GetSuccessorId() const; |
// Return the ID of the first child of this node. If this node has no |
// children, return 0. |
- virtual int64 GetFirstChildId() const; |
+ int64 GetFirstChildId() const; |
// These virtual accessors provide access to data members of derived classes. |
virtual const syncable::Entry* GetEntry() const = 0; |