#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_H_
#define COMPONENTS_POLICY_CORE_COMMON_POLICY_SERVICE_H_
#include <map>
#include <string>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/observer_list_types.h"
#include "base/scoped_observation_traits.h"
#include "build/build_config.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_export.h"
namespace policy {
class ConfigurationPolicyProvider;
#if BUILDFLAG(IS_ANDROID)
namespace android {
class PolicyServiceAndroid;
}
#endif
class POLICY_EXPORT PolicyService { … };
class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer { … };
}
namespace base {
template <>
struct ScopedObservationTraits<policy::PolicyService,
policy::PolicyService::ProviderUpdateObserver> { … };
}
#endif