#include "chrome/browser/enterprise/util/affiliation.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/browser_management/management_service_factory.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "chrome/browser/policy/profile_policy_connector.h"
#include "chrome/browser/profiles/profile.h"
#include "components/policy/core/common/cloud/affiliation.h"
#if BUILDFLAG(IS_CHROMEOS_LACROS)
#include "components/policy/core/common/policy_loader_lacros.h"
#endif
namespace enterprise_util {
bool IsProfileAffiliated(Profile* profile) { … }
ProfileUnaffiliatedReason GetUnaffiliatedReason(Profile* profile) { … }
ProfileUnaffiliatedReason GetUnaffiliatedReason(
policy::ProfilePolicyConnector* connector) { … }
}