#include "components/policy/core/common/local_test_policy_provider.h"
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "components/policy/core/common/policy_bundle.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/policy/core/common/policy_service_impl.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/policy_utils.h"
#include "components/prefs/pref_registry_simple.h"
namespace policy {
std::unique_ptr<LocalTestPolicyProvider>
LocalTestPolicyProvider::CreateIfAllowed(version_info::Channel channel) { … }
LocalTestPolicyProvider::~LocalTestPolicyProvider() = default;
void LocalTestPolicyProvider::LoadJsonPolicies(
const std::string& json_policies_string) { … }
void LocalTestPolicyProvider::SetUserAffiliated(bool affiliated) { … }
const std::string& LocalTestPolicyProvider::GetPolicies() const { … }
void LocalTestPolicyProvider::ClearPolicies() { … }
void LocalTestPolicyProvider::RefreshPolicies(PolicyFetchReason reason) { … }
bool LocalTestPolicyProvider::IsFirstPolicyLoadComplete(
PolicyDomain domain) const { … }
void LocalTestPolicyProvider::RegisterLocalStatePrefs(
PrefRegistrySimple* registry) { … }
LocalTestPolicyProvider::LocalTestPolicyProvider() { … }
}