chromium/chrome/updater/policy/mac/managed_preference_policy_manager.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_UPDATER_POLICY_MAC_MANAGED_PREFERENCE_POLICY_MANAGER_H_
#define CHROME_UPDATER_POLICY_MAC_MANAGED_PREFERENCE_POLICY_MANAGER_H_

#include <optional>

#include "base/memory/scoped_refptr.h"
#include "chrome/updater/policy/manager.h"

namespace updater {

// A factory method to create a managed preference policy manager.
scoped_refptr<PolicyManagerInterface> CreateManagedPreferencePolicyManager(
    const std::optional<bool>& override_is_managed_device = std::nullopt);

}  // namespace updater

#endif  // CHROME_UPDATER_POLICY_MAC_MANAGED_PREFERENCE_POLICY_MANAGER_H_