#include "chrome/browser/policy/homepage_location_policy_handler.h"
#include <memory>
#include "base/values.h"
#include "chrome/common/pref_names.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/strings/grit/components_strings.h"
#include "components/url_formatter/url_fixer.h"
#include "url/gurl.h"
namespace policy {
namespace {
GURL FixUrl(const std::string& url_spec) { … }
}
HomepageLocationPolicyHandler::HomepageLocationPolicyHandler()
: … { … }
HomepageLocationPolicyHandler::~HomepageLocationPolicyHandler() = default;
bool HomepageLocationPolicyHandler::CheckPolicySettings(
const PolicyMap& policies,
PolicyErrorMap* errors) { … }
void HomepageLocationPolicyHandler::ApplyPolicySettings(
const PolicyMap& policies,
PrefValueMap* prefs) { … }
}