chrome/browser/bookmarks/bookmark_utils.cc
// Returns the number of children of |node| that are of type url.
Returns the number of children of |node| that are of type url.
Returns the number of children of |node| that are of type url .
int ChildURLCount(const BookmarkNode* node) {
  int result = 0;
  for (int i = 0; i < node->child_count(); ++i) {
    const BookmarkNode* child = node->GetChild(i);
    if (child->is_url())
      result++;
  }
  return result;
}
int ChildURLCount ( const BookmarkNode * node ) { int result = 0 ; for ( int i = 0 ; i < node -> child_count ( ) ; ++ i ) { const BookmarkNode * child = node -> GetChild ( i ) ; if ( child -> is_url ( ) ) result ++ ; } return result ; }
Returns the number of children of |node| that are of type url.
Returns the number of children of |node| that are of type url .