blob: 028f22d6b8b2c9d69de13202d02510a383f08a06 [file] [log] [blame]
owners:
- zmin@chromium.org
- file://components/policy/OWNERS
caption: Control Manifest v2 extension availability
desc: |-
Control if Manifest v2 extensions can be used by browser.
Manifest v2 extensions support will be deprecated and all extensions need
to be migrated to v3 in the future. More information and timeline of the
migration can be found at https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/.
If the policy is set to <ph name="DEFAULT">Default</ph> (0) or not set, v2 extensions loading are decided by browser, following the timeline above.
If the policy is set to <ph name="DISABLE">Disable</ph> (1), v2 extensions installation are blocked, existing ones are disabled. The option is going to be treated the same as if the policy is not set after v2 support is turned off by default.
If the policy is set to <ph name="ENABLE">Enable</ph> (2), v2 extensions are allowed. The option is going to be treated the same as if the policy is not set before v2 support is turned off by default.
If the policy is set to <ph name="ENABLE_FOR_FORCED_EXTENSIONS">EnableForForcedExtensions</ph> (3), force installed v2 extensions are allowed. This includes extensions that are listed by <ph name="EXTENSION_INSTALL_FORCELIST_POLICY_NAME">ExtensionInstallForcelist</ph> or <ph name="EXTENSION_SETTINGS_POLICY_NAME">ExtensionSettings</ph> with <ph name="INSTALLATION_MODE">installation_mode</ph> "force_installed" or "normal_installed". All other v2 extensions are disabled. The option is going to be treated the same as if the policy is not set before v2 support is turned off by default.
Extensions availability are still controlled by other policies.
supported_on:
- chrome.*:110-
- chrome_os:110-
future_on:
- fuchsia
features:
dynamic_refresh: true
per_profile: true
type: int-enum
schema:
type: integer
enum:
- 0
- 1
- 2
- 3
items:
- caption: Default browser behavior
name: Default
value: 0
- caption: Manifest v2 is disabled
name: Disable
value: 1
- caption: Manifest v2 is enabled
name: Enable
value: 2
- caption: Manifest v2 is enabled for forced extensions only
name: EnableForForcedExtensions
value: 3
default: 0
example_value: 2
tags: []