chromium/components/policy/resources/templates/policy_definitions/BrowserIdle/IdleTimeoutActions.yaml

caption: Actions to run when the computer is idle
desc: |-
  List of actions to run when the timeout from the <ph name="IDLE_TIMEOUT_POLICY_NAME">IdleTimeout</ph> policy is reached.

  Warning: Setting this policy can impact and permanently remove local personal data. It is recommended to test your settings before deploying to prevent accidental deletion of personal data.

  If the <ph name="IDLE_TIMEOUT_POLICY_NAME">IdleTimeout</ph> policy is unset, this policy has no effect.

  When the timeout from the <ph name="IDLE_TIMEOUT_POLICY_NAME">IdleTimeout</ph> policy is reached, the browser runs the actions configured in this policy.

  If this policy is empty or left unset, the <ph name="IDLE_TIMEOUT_POLICY_NAME">IdleTimeout</ph> policy has no effect.

  Supported actions are:

  '<ph name="CLOSE_BROWSERS_ACTION">close_browsers</ph>': close all browser windows and PWAs for this profile. Not supported on Android and iOS.

  '<ph name="CLOSE_TABS_ACTION">close_tabs</ph>': close all open tabs in open windows. Only supported on iOS.

  '<ph name="SHOW_PROFILE_PICKER_ACTION">show_profile_picker</ph>': show the Profile Picker window. Not supported on Android and iOS.

  '<ph name="SIGN_OUT_ACTION">sign_out</ph>': Signs out the current signed in user. Only supported on iOS.

  '<ph name="CLEAR_BROWSING_HISTORY_ACTION">clear_browsing_history</ph>', '<ph name="CLEAR_DOWNLOAD_HISTORY_ACTION">clear_download_history</ph>', '<ph name="CLEAR_COOKIES_AND_OTHER_SITE_DATA_ACTION">clear_cookies_and_other_site_data</ph>', '<ph name="CLEAR_CACHED_IMAGES_AND_FILES_ACTION">clear_cached_images_and_files</ph>', '<ph name="CLEAR_PASSWORD_SIGNIN_ACTION">clear_password_signing</ph>', '<ph name="CLEAR_AUTOFILL_ACTION">clear_autofill</ph>', '<ph name="CLEAR_SITE_SETTINGS_ACTION">clear_site_settings</ph>', '<ph name="CLEAR_HOSTED_APP_DATA_ACTION">clear_hosted_app_data</ph>': clear the corresponding browsing data. See the <ph name="CLEAR_BROWSING_DATA_ON_EXIT_LIST_POLICY_NAME">ClearBrowsingDataOnExitList</ph> policy for more details. The types supported on iOS are '<ph name="CLEAR_BROWSING_HISTORY_ACTION">clear_browsing_history</ph>', '<ph name="CLEAR_COOKIES_AND_OTHER_SITE_DATA_ACTION">clear_cookies_and_other_site_data</ph>', '<ph name="CLEAR_CACHED_IMAGES_AND_FILES_ACTION">clear_cached_images_and_files</ph>', '<ph name="CLEAR_PASSWORD_SIGNIN_ACTION">clear_password_signing</ph>', and '<ph name="CLEAR_AUTOFILL_ACTION">clear_autofill</ph>'

  '<ph name="RELOAD_PAGES_ACTION">reload_pages</ph>': reload all webpages. For some pages, the user may be prompted for confirmation first. Not supported on iOS.

  Setting '<ph name="CLEAR_BROWSING_HISTORY_ACTION">clear_browsing_history</ph>', '<ph name="CLEAR_PASSWORD_SIGNIN_ACTION">clear_password_signing</ph>', '<ph name="CLEAR_AUTOFILL_ACTION">clear_autofill</ph>', and '<ph name="CLEAR_SITE_SETTINGS_ACTION">clear_site_settings</ph>' will disable sync for the respective data types if neither `<ph name="CHROME_SYNC_NAME">Chrome Sync</ph>` is disabled by setting the <ph name="SYNC_DISABLED_POLICY_NAME">SyncDisabled</ph> policy nor <ph name="BROWSER_SIGNIN_POLICY_NAME">BrowserSignin</ph> is disabled.
example_value:
- close_browsers
- show_profile_picker
features:
  dynamic_refresh: true
  per_profile: true
supported_on:
- chrome.*:116-
- ios:123-
future_on:
- android
owners:
- [email protected]
- [email protected]
items:
- caption: Close Browsers
  name: close_browsers
  value: close_browsers
- caption: Show Profile Picker
  name: show_profile_picker
  value: show_profile_picker
- caption: Clear Browsing History
  name: clear_browsing_history
  value: clear_browsing_history
- caption: Clear Download History
  name: clear_download_history
  value: clear_download_history
- caption: Clear Cookies and Other Site Data
  name: clear_cookies_and_other_site_data
  value: clear_cookies_and_other_site_data
- caption: Clear Cached Images and Files
  name: clear_cached_images_and_files
  value: clear_cached_images_and_files
- caption: Clear Password Signin
  name: clear_password_signin
  value: clear_password_signin
- caption: Clear Autofill
  name: clear_autofill
  value: clear_autofill
- caption: Clear Site Settings
  name: clear_site_settings
  value: clear_site_settings
- caption: Clear Hosted App Data
  name: clear_hosted_app_data
  value: clear_hosted_app_data
- caption: Reload Pages
  name: reload_pages
  value: reload_pages
- caption: Sign Out
  name: sign_out
  value: sign_out
- caption: Close Tabs
  name: close_tabs
  value: close_tabs
schema:
  items:
    enum:
    - close_browsers
    - show_profile_picker
    - clear_browsing_history
    - clear_download_history
    - clear_cookies_and_other_site_data
    - clear_cached_images_and_files
    - clear_password_signin
    - clear_autofill
    - clear_site_settings
    - clear_hosted_app_data
    - reload_pages
    - sign_out
    - close_tabs
    type: string
  type: array
tags: []
type: string-enum-list