#include "chrome/browser/history/domain_diversity_reporter_factory.h"
#include <string>
#include "base/functional/bind.h"
#include "base/no_destructor.h"
#include "base/time/default_clock.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/history/metrics/domain_diversity_reporter.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
DomainDiversityReporter* DomainDiversityReporterFactory::GetForProfile(
Profile* profile) { … }
DomainDiversityReporterFactory* DomainDiversityReporterFactory::GetInstance() { … }
std::unique_ptr<KeyedService> DomainDiversityReporterFactory::BuildInstanceFor(
content::BrowserContext* context) { … }
DomainDiversityReporterFactory::DomainDiversityReporterFactory()
: … { … }
DomainDiversityReporterFactory::~DomainDiversityReporterFactory() = default;
KeyedService* DomainDiversityReporterFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const { … }
void DomainDiversityReporterFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
bool DomainDiversityReporterFactory::ServiceIsNULLWhileTesting() const { … }
bool DomainDiversityReporterFactory::ServiceIsCreatedWithBrowserContext()
const { … }