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

#ifndef EXTENSIONS_BROWSER_MANAGED_INSTALLATION_MODE_H_
#define EXTENSIONS_BROWSER_MANAGED_INSTALLATION_MODE_H_

#include "extensions/buildflags/buildflags.h"

static_assert(BUILDFLAG(ENABLE_EXTENSIONS_CORE));

namespace extensions {

// Policy-based installation mode for extensions, default is kAllowed.
// * kAllowed: Extension can be installed.
// * kBlocked: Extension cannot be installed.
// * kForced: Extension will be installed automatically and cannot be disabled.
// * kRecommended: Extension will be installed automatically but can be
//                 disabled.
// * kRemoved:  Extension cannot be installed and will be automatically removed.
enum class ManagedInstallationMode {
  kAllowed = 0,
  kBlocked,
  kForced,
  kRecommended,
  kRemoved,
};

}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_MANAGED_INSTALLATION_MODE_H_
