#include "chrome/browser/enterprise/reporting/profile_report_generator_delegate_base.h"
#include <memory>
#include "base/files/file_path.h"
#include "build/branding_buildflags.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/util/affiliation.h"
#include "chrome/browser/policy/chrome_browser_policy_connector.h"
#include "chrome/browser/policy/chrome_policy_conversions_client.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "components/enterprise/browser/reporting/profile_report_generator.h"
#include "components/policy/core/browser/policy_conversions.h"
#include "components/policy/core/browser/policy_conversions_client.h"
#include "components/policy/core/common/cloud/cloud_policy_manager.h"
#include "components/policy/core/common/cloud/machine_level_user_cloud_policy_manager.h"
#include "components/policy/core/common/cloud/profile_cloud_policy_manager.h"
#include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
#include "components/policy/proto/device_management_backend.pb.h"
#include "components/signin/public/identity_manager/account_info.h"
#include "components/signin/public/identity_manager/identity_manager.h"
#include "components/sync/base/features.h"
em;
namespace enterprise_reporting {
ProfileReportGeneratorDelegateBase::ProfileReportGeneratorDelegateBase() =
default;
ProfileReportGeneratorDelegateBase::~ProfileReportGeneratorDelegateBase() =
default;
bool ProfileReportGeneratorDelegateBase::Init(const base::FilePath& path) { … }
void ProfileReportGeneratorDelegateBase::GetSigninUserInfo(
em::ChromeUserProfileInfo* report) { … }
std::unique_ptr<policy::PolicyConversionsClient>
ProfileReportGeneratorDelegateBase::MakePolicyConversionsClient(
bool is_machine_scope) { … }
void ProfileReportGeneratorDelegateBase::GetAffiliationInfo(
em::ChromeUserProfileInfo* report) { … }
policy::CloudPolicyManager*
ProfileReportGeneratorDelegateBase::GetCloudPolicyManager(
bool is_machine_scope) { … }
}