#include "components/policy/core/common/policy_migrator.h"
#include <algorithm>
#include <utility>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "components/policy/core/common/policy_logger.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace policy {
namespace {
void DoNothing(base::Value* val) { … }
}
PolicyMigrator::~PolicyMigrator() = default;
void PolicyMigrator::CopyPolicyIfUnset(PolicyMap& source,
PolicyMap* dest,
const Migration& migration) { … }
PolicyMigrator::Migration::Migration(Migration&&) = default;
PolicyMigrator::Migration::Migration(const char* old_name, const char* new_name)
: … { … }
PolicyMigrator::Migration::Migration(const char* old_name,
const char* new_name,
ValueTransform transform)
: … { … }
PolicyMigrator::Migration::~Migration() = default;
}