#include "chrome/browser/enterprise/signals/user_permission_service_factory.h"
#include <memory>
#include "base/no_destructor.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/enterprise/browser_management/management_service_factory.h"
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service.h"
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service_factory.h"
#include "chrome/browser/enterprise/signals/user_delegate_impl.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "components/device_signals/core/browser/user_delegate.h"
#include "components/device_signals/core/browser/user_permission_service.h"
#include "components/device_signals/core/browser/user_permission_service_impl.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/policy/core/common/management/management_service.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "content/public/browser/browser_context.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "components/device_signals/core/browser/ash/user_permission_service_ash.h"
#endif
namespace enterprise_signals {
UserPermissionServiceFactory* UserPermissionServiceFactory::GetInstance() { … }
device_signals::UserPermissionService*
UserPermissionServiceFactory::GetForProfile(Profile* profile) { … }
UserPermissionServiceFactory::UserPermissionServiceFactory()
: … { … }
UserPermissionServiceFactory::~UserPermissionServiceFactory() = default;
KeyedService* UserPermissionServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const { … }
}