| <?xml version="1.0" encoding="utf-8"?><!-- |
| Copyright 2022 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"> |
| |
| <PreferenceCategory |
| android:key="privacy_section" |
| android:title="@string/privacy_section_title" /> |
| <Preference |
| android:key="clear_browsing_data" |
| android:title="@string/clear_browsing_data_title" |
| android:summary="@string/clear_browsing_data_summary" |
| android:fragment="org.chromium.chrome.browser.browsing_data.ClearBrowsingDataFragment" /> |
| <Preference |
| android:key="privacy_guide" |
| android:title="@string/privacy_guide_pref_title" |
| android:summary="@string/privacy_guide_pref_summary" |
| android:fragment="org.chromium.chrome.browser.privacy_guide.PrivacyGuideFragment" /> |
| <org.chromium.components.browser_ui.settings.ChromeBasePreference |
| android:key="third_party_cookies" |
| android:title="@string/third_party_cookies_link_row_label" |
| android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings" /> |
| <Preference |
| android:key="tracking_protection" |
| android:title="@string/third_party_cookies_link_row_label" |
| android:fragment="org.chromium.components.privacy_sandbox.TrackingProtectionSettings" |
| app:isPreferenceVisible="false" /> |
| <Preference |
| android:key="privacy_sandbox" |
| android:title="@string/ad_privacy_link_row_label" |
| android:fragment="org.chromium.chrome.browser.privacy_sandbox.PrivacySandboxSettingsFragment" /> |
| <Preference |
| android:key="do_not_track" |
| android:title="@string/do_not_track_title" |
| android:fragment="org.chromium.chrome.browser.privacy.settings.DoNotTrackSettings" /> |
| <Preference |
| android:key="preload_pages" |
| android:title="@string/preload_pages_title" |
| android:summary="@string/preload_pages_summary" |
| android:fragment="org.chromium.chrome.browser.prefetch.settings.PreloadPagesSettingsFragment" /> |
| <org.chromium.chrome.browser.incognito.reauth.IncognitoReauthSettingSwitchPreference |
| android:key="incognito_lock" |
| android:title="@string/settings_incognito_tab_lock_title" |
| android:summary="@string/settings_incognito_tab_lock_summary_android_setting_off" |
| android:persistent="false" /> |
| |
| <PreferenceCategory |
| android:key="security_section" |
| android:title="@string/security_section_title" /> |
| <org.chromium.chrome.browser.safety_hub.SafetyHubExpandablePreference |
| android:key="advanced_protection_info" |
| android:title="@string/settings_privacy_and_security_advanced_protection_section_title"/> |
| <Preference |
| android:key="safe_browsing" |
| android:title="@string/prefs_safe_browsing_title" |
| android:summary="@string/prefs_safe_browsing_summary" |
| android:fragment="org.chromium.chrome.browser.safe_browsing.settings.SafeBrowsingSettingsFragment" /> |
| <org.chromium.components.browser_ui.settings.ChromeSwitchPreference |
| android:key="password_leak_detection" |
| android:title="@string/passwords_leak_detection_switch_title" |
| android:summary="@string/passwords_leak_detection_switch_summary" |
| android:persistent="false" /> |
| <!-- Old HTTPS-First Mode toggle. Hidden if HttpsFirstBalancedMode flag is enabled. |
| TODO(crbug.com/349860796): Remove once new settings are fully rolled out. --> |
| <org.chromium.components.browser_ui.settings.ChromeSwitchPreference |
| android:key="https_first_mode_legacy" |
| android:title="@string/settings_https_first_mode_title" /> |
| <!-- New HTTPS-First Mode settings sub-page. Hidden if HttpsFirstBalancedMode flag is disabled. --> |
| <Preference |
| android:key="https_first_mode" |
| android:title="@string/settings_https_first_mode_title" |
| android:fragment="org.chromium.chrome.browser.ssl.HttpsFirstModeSettingsFragment" /> |
| <org.chromium.components.browser_ui.settings.ChromeBasePreference |
| android:key="secure_dns" |
| android:title="@string/settings_secure_dns_title" |
| android:fragment="org.chromium.chrome.browser.privacy.secure_dns.SecureDnsSettings" /> |
| <org.chromium.components.browser_ui.settings.ChromeBasePreference |
| android:key="javascript_optimizer" |
| android:title="@string/website_settings_privacy_and_security_javascript_optimizer_row_label" |
| android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings" /> |
| <org.chromium.components.browser_ui.settings.ChromeSwitchPreference |
| android:key="can_make_payment" |
| android:title="@string/can_make_payment_title" |
| android:summary="@string/settings_can_make_payment_toggle_label" /> |
| <org.chromium.components.browser_ui.settings.TextMessagePreference |
| android:key="sync_and_services_link" |
| android:summary="@string/privacy_sync_and_services_link_legacy" |
| app:allowDividerBelow="false" /> |
| </PreferenceScreen> |