#include "chrome/browser/policy/device_management_service_configuration.h"
#include <stdint.h>
#include <string_view>
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "base/system/sys_info.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/version_info/version_info.h"
#include "content/public/browser/browser_context.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/ash/components/system/statistics_provider.h"
#endif
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && \
!BUILDFLAG(IS_ANDROID))
#include "chrome/browser/enterprise/connectors/common.h"
#include "chrome/browser/enterprise/connectors/connectors_service.h"
#endif
namespace policy {
DeviceManagementServiceConfiguration::DeviceManagementServiceConfiguration(
const std::string& dm_server_url,
const std::string& realtime_reporting_server_url,
const std::string& encrypted_reporting_server_url)
: … { … }
DeviceManagementServiceConfiguration::~DeviceManagementServiceConfiguration() { … }
std::string DeviceManagementServiceConfiguration::GetDMServerUrl() const { … }
std::string DeviceManagementServiceConfiguration::GetAgentParameter() const { … }
std::string DeviceManagementServiceConfiguration::GetPlatformParameter() const { … }
std::string
DeviceManagementServiceConfiguration::GetRealtimeReportingServerUrl() const { … }
std::string
DeviceManagementServiceConfiguration::GetEncryptedReportingServerUrl() const { … }
std::string
DeviceManagementServiceConfiguration::GetReportingConnectorServerUrl(
content::BrowserContext* context) const { … }
}