#include "components/policy/core/common/cloud/user_cloud_policy_store_base.h"
#include <utility>
#include "base/task/sequenced_task_runner.h"
#include "build/chromeos_buildflags.h"
#include "components/policy/core/common/cloud/cloud_external_data_manager.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_proto_decoders.h"
#include "components/policy/proto/cloud_policy.pb.h"
#include "components/policy/proto/device_management_backend.pb.h"
namespace policy {
UserCloudPolicyStoreBase::UserCloudPolicyStoreBase(
scoped_refptr<base::SequencedTaskRunner> background_task_runner,
PolicyScope policy_scope)
: … { … }
UserCloudPolicyStoreBase::~UserCloudPolicyStoreBase() { … }
std::unique_ptr<UserCloudPolicyValidator>
UserCloudPolicyStoreBase::CreateValidator(
std::unique_ptr<enterprise_management::PolicyFetchResponse>
policy_fetch_response,
CloudPolicyValidatorBase::ValidateTimestampOption timestamp_option) { … }
void UserCloudPolicyStoreBase::InstallPolicy(
std::unique_ptr<enterprise_management::PolicyFetchResponse>
policy_fetch_response,
std::unique_ptr<enterprise_management::PolicyData> policy_data,
std::unique_ptr<enterprise_management::CloudPolicySettings> payload,
const std::string& policy_signature_public_key) { … }
}