#include "components/segmentation_platform/internal/signals/history_delegate_impl.h"
#include "base/hash/hash.h"
#include "components/history/core/browser/history_service.h"
#include "components/segmentation_platform/internal/database/ukm_database.h"
#include "components/segmentation_platform/internal/database/ukm_url_table.h"
namespace segmentation_platform {
HistoryDelegateImpl::HistoryDelegateImpl(
history::HistoryService* history_service,
UrlSignalHandler* url_signal_handler,
const std::string& profile_id)
: … { … }
HistoryDelegateImpl::~HistoryDelegateImpl() { … }
void HistoryDelegateImpl::OnUrlAdded(const GURL& url) { … }
void HistoryDelegateImpl::OnUrlRemoved(const std::vector<GURL>& urls) { … }
bool HistoryDelegateImpl::FastCheckUrl(const GURL& url) { … }
void HistoryDelegateImpl::FindUrlInHistory(
const GURL& url,
UrlSignalHandler::FindCallback callback) { … }
const std::string& HistoryDelegateImpl::profile_id() { … }
void HistoryDelegateImpl::OnHistoryQueryResult(
UrlId url_id,
UrlSignalHandler::FindCallback callback,
history::QueryURLResult result) { … }
}