#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#include "base/functional/bind.h"
#include "base/version_info/channel.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_key.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/supervised_user/supervised_user_browser_utils.h"
#include "chrome/browser/supervised_user/supervised_user_settings_service_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/supervised_user/core/browser/supervised_user_service.h"
#include "components/supervised_user/core/browser/supervised_user_url_filter.h"
#include "components/sync/service/sync_service.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
#include "extensions/buildflags/buildflags.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"
#endif
#if BUILDFLAG(IS_ANDROID)
#include "chrome/browser/supervised_user/android/supervised_user_service_platform_delegate.h"
#else
#include "chrome/browser/supervised_user/desktop/supervised_user_service_platform_delegate.h"
#endif
class FilterDelegateImpl
: public supervised_user::SupervisedUserURLFilter::Delegate { … };
supervised_user::SupervisedUserService*
SupervisedUserServiceFactory::GetForProfile(Profile* profile) { … }
supervised_user::SupervisedUserService*
SupervisedUserServiceFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
supervised_user::SupervisedUserService*
SupervisedUserServiceFactory::GetForProfileIfExists(Profile* profile) { … }
SupervisedUserServiceFactory* SupervisedUserServiceFactory::GetInstance() { … }
KeyedService* SupervisedUserServiceFactory::BuildInstanceFor(Profile* profile) { … }
SupervisedUserServiceFactory::SupervisedUserServiceFactory()
: … { … }
SupervisedUserServiceFactory::~SupervisedUserServiceFactory() = default;
KeyedService* SupervisedUserServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const { … }