#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service_factory.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/browser/enterprise/connectors/device_trust/device_trust_connector_service.h"
#include "chrome/browser/profiles/profile.h"
#include "components/keyed_service/core/keyed_service.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/connectors/device_trust/browser/signing_key_policy_observer.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "components/enterprise/browser/controller/chrome_browser_cloud_management_controller.h"
#include "components/enterprise/browser/device_trust/device_trust_key_manager.h"
#endif
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/profiles/profile_helper.h"
#endif
namespace enterprise_connectors {
DeviceTrustConnectorServiceFactory*
DeviceTrustConnectorServiceFactory::GetInstance() { … }
DeviceTrustConnectorService* DeviceTrustConnectorServiceFactory::GetForProfile(
Profile* profile) { … }
bool DeviceTrustConnectorServiceFactory::ServiceIsCreatedWithBrowserContext()
const { … }
bool DeviceTrustConnectorServiceFactory::ServiceIsNULLWhileTesting() const { … }
DeviceTrustConnectorServiceFactory::DeviceTrustConnectorServiceFactory()
: … { … }
DeviceTrustConnectorServiceFactory::~DeviceTrustConnectorServiceFactory() =
default;
std::unique_ptr<KeyedService>
DeviceTrustConnectorServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
}