#include "chrome/browser/visited_url_ranking/desktop_tab_model_url_visit_data_fetcher.h"
#include <map>
#include "base/time/time.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/tabs/tab_renderer_data.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "components/sessions/content/session_tab_helper.h"
#include "components/url_deduplication/url_deduplication_helper.h"
#include "components/visited_url_ranking/public/fetch_options.h"
#include "components/visited_url_ranking/public/fetch_result.h"
#include "components/visited_url_ranking/public/fetcher_config.h"
#include "components/visited_url_ranking/public/url_visit.h"
#include "components/visited_url_ranking/public/url_visit_data_fetcher.h"
#include "components/visited_url_ranking/public/url_visit_util.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "url/url_constants.h"
namespace visited_url_ranking {
Source;
URLVisitVariant;
namespace {
URLVisitAggregate::Tab MakeAggregateTabFromWebContents(
content::WebContents* web_contents) { … }
}
DesktopTabModelURLVisitDataFetcher::DesktopTabModelURLVisitDataFetcher(
Profile* profile)
: … { … }
DesktopTabModelURLVisitDataFetcher::~DesktopTabModelURLVisitDataFetcher() =
default;
void DesktopTabModelURLVisitDataFetcher::FetchURLVisitData(
const FetchOptions& options,
const FetcherConfig& config,
FetchResultCallback callback) { … }
}