#include "chrome/browser/history_clusters/history_clusters_service_factory.h"
#include "base/no_destructor.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/engagement/site_engagement_service_factory.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "components/history_clusters/core/history_clusters_service.h"
#include "components/keyed_service/core/service_access_type.h"
#include "components/optimization_guide/core/optimization_guide_decider.h"
#include "components/site_engagement/content/site_engagement_service.h"
#include "content/public/browser/storage_partition.h"
namespace {
std::unique_ptr<KeyedService> BuildService(content::BrowserContext* context) { … }
}
history_clusters::HistoryClustersService*
HistoryClustersServiceFactory::GetForBrowserContext(
content::BrowserContext* browser_context) { … }
HistoryClustersServiceFactory* HistoryClustersServiceFactory::GetInstance() { … }
HistoryClustersServiceFactory::HistoryClustersServiceFactory()
: … { … }
HistoryClustersServiceFactory::~HistoryClustersServiceFactory() = default;
BrowserContextKeyedServiceFactory::TestingFactory
HistoryClustersServiceFactory::GetDefaultFactory() { … }
std::unique_ptr<KeyedService>
HistoryClustersServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
void HistoryClustersServiceFactory::EnsureFactoryBuilt() { … }