#include "chrome/browser/policy/value_provider/chrome_policies_value_provider.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/functional/callback_forward.h"
#include "base/memory/scoped_refptr.h"
#include "base/values.h"
#include "chrome/browser/policy/chrome_policy_conversions_client.h"
#include "chrome/browser/policy/schema_registry_service.h"
#include "chrome/browser/policy/value_provider/value_provider_util.h"
#include "chrome/browser/profiles/profile.h"
#include "components/policy/core/browser/policy_conversions.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/schema.h"
#include "components/policy/core/common/schema_map.h"
#include "components/policy/core/common/schema_registry.h"
#if !BUILDFLAG(IS_CHROMEOS)
#include "components/policy/policy_constants.h"
#endif
ChromePoliciesValueProvider::ChromePoliciesValueProvider(Profile* profile)
: … { … }
ChromePoliciesValueProvider::~ChromePoliciesValueProvider() { … }
base::Value::Dict ChromePoliciesValueProvider::GetValues() { … }
base::Value::Dict ChromePoliciesValueProvider::GetNames() { … }
void ChromePoliciesValueProvider::Refresh() { … }
void ChromePoliciesValueProvider::OnRefreshPoliciesDone() { … }
void ChromePoliciesValueProvider::OnPolicyUpdated(
const policy::PolicyNamespace& ns,
const policy::PolicyMap& previous,
const policy::PolicyMap& current) { … }
void ChromePoliciesValueProvider::OnSchemaRegistryUpdated(
bool has_new_schemas) { … }