#include "chrome/browser/supervised_user/supervised_user_metrics_service_factory.h"
#include <memory>
#include "base/no_destructor.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/supervised_user/core/browser/supervised_user_metrics_service.h"
#include "components/supervised_user/core/browser/supervised_user_service.h"
#include "content/public/browser/browser_context.h"
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
#include "chrome/browser/supervised_user/linux_mac_windows/supervised_user_extensions_metrics_delegate_impl.h"
#endif
supervised_user::SupervisedUserMetricsService*
SupervisedUserMetricsServiceFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
SupervisedUserMetricsServiceFactory*
SupervisedUserMetricsServiceFactory::GetInstance() { … }
SupervisedUserMetricsServiceFactory::SupervisedUserMetricsServiceFactory()
: … { … }
SupervisedUserMetricsServiceFactory::~SupervisedUserMetricsServiceFactory() =
default;
void SupervisedUserMetricsServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
KeyedService* SupervisedUserMetricsServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const { … }
bool SupervisedUserMetricsServiceFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool SupervisedUserMetricsServiceFactory::ServiceIsNULLWhileTesting() const { … }