#include "chrome/browser/engagement/history_aware_site_engagement_service.h"
#include "base/time/clock.h"
#include "base/time/time.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/site_engagement/content/site_engagement_score.h"
#include "content/public/browser/browser_context.h"
namespace site_engagement {
HistoryAwareSiteEngagementService::HistoryAwareSiteEngagementService(
content::BrowserContext* browser_context,
history::HistoryService* history_service)
: … { … }
HistoryAwareSiteEngagementService::~HistoryAwareSiteEngagementService() =
default;
void HistoryAwareSiteEngagementService::Shutdown() { … }
void HistoryAwareSiteEngagementService::OnHistoryDeletions(
history::HistoryService* history_service,
const history::DeletionInfo& deletion_info) { … }
void HistoryAwareSiteEngagementService::UpdateEngagementScores(
const std::multiset<GURL>& deleted_origins,
bool expired,
const history::OriginCountAndLastVisitMap& remaining_origins) { … }
}