#include "chrome/browser/extensions/api/top_sites/top_sites_api.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/values.h"
#include "chrome/browser/history/top_sites_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/history/core/browser/top_sites.h"
namespace extensions {
TopSitesGetFunction::TopSitesGetFunction() = default;
TopSitesGetFunction::~TopSitesGetFunction() = default;
ExtensionFunction::ResponseAction TopSitesGetFunction::Run() { … }
void TopSitesGetFunction::OnMostVisitedURLsAvailable(
const history::MostVisitedURLList& data) { … }
}