#include "components/bookmarks/browser/typed_count_sorter.h"
#include "base/memory/raw_ref.h"
#include "base/ranges/algorithm.h"
#include "components/bookmarks/browser/bookmark_client.h"
#include "components/bookmarks/browser/titled_url_node.h"
namespace bookmarks {
UrlTypedCountMap;
namespace {
UrlNodeMap;
UrlTypedCountPair;
UrlTypedCountPairs;
struct UrlTypedCountPairSortFunctor { … };
class UrlTypedCountPairNodeLookupFunctor { … };
}
TypedCountSorter::TypedCountSorter(BookmarkClient* client)
: … { … }
TypedCountSorter::~TypedCountSorter() = default;
void TypedCountSorter::SortMatches(const TitledUrlNodeSet& matches,
TitledUrlNodes* sorted_nodes) const { … }
}