<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2024 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<PreferenceScreen
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <!-- LINT.IfChange(archive_settings_description_section) -->
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="tab_archive_settings_description"
        android:summary="@string/archive_settings_description_section"
        app:allowDividerBelow="false" />
    <!-- LINT.ThenChange(/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabArchiveSettingsFragment.java:archive_settings_description_section) -->

    <org.chromium.chrome.browser.tasks.tab_management.TabArchiveTimeDeltaPreference
        android:key="tab_archive_time_delta" />

    <org.chromium.components.browser_ui.settings.ChromeSwitchPreference
        android:key="tab_archive_include_duplicate_tabs"
        android:title="@string/archive_settings_archive_duplicate_tabs_title"
        android:summary="@string/archive_settings_archive_duplicate_tabs_summary"
        app:allowDividerAbove="true"/>

    <org.chromium.components.browser_ui.settings.ChromeSwitchPreference
        android:key="tab_archive_allow_autodelete"
        android:title="@string/archive_settings_allow_autodelete_title"
        app:allowDividerAbove="true"/>
</PreferenceScreen>
