blob: 3962dbd93ec9ec09893a7841dc7a1a50b5d03d7b [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<!-- Note: If a synced pref is added/removed from this file, the method
|GetSyncedServicePrefNames| in
chrome/browser/unified_consent/unified_consent_service_factory.cc has to be
updated accordingly. -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory
android:key="user_category"
android:title="@string/user"/>
<org.chromium.chrome.browser.sync.settings.SignInPreference
android:key="sign_in"
android:title="@string/sign_in_to_chrome"/>
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="manage_your_google_account"
android:title="@string/manage_your_google_account"/>
<PreferenceCategory
android:key="sync_category"
android:title="@string/sync_category_title">
<Preference
android:key="sync_error_card"
android:layout="@layout/account_management_account_row"/>
<Preference
android:key="sync_disabled_by_administrator"
android:layout="@layout/account_management_account_row"
android:title="@string/sync_is_disabled_by_administrator"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="sync_requested"
android:title="@string/sync_switch_title"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="manage_sync"
android:title="@string/manage_sync_title"
android:fragment="org.chromium.chrome.browser.sync.settings.ManageSyncSettings"/>
</PreferenceCategory>
<PreferenceCategory
android:key="services_category"
android:title="@string/services_category_title">
<!-- Only shown when metrics-settings-android flag is on. -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="metrics_settings"
android:title="@string/manage_metrics_settings"
android:fragment="org.chromium.chrome.browser.metrics_settings.MetricsSettingsFragment"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="search_suggestions"
android:title="@string/autocomplete_searches_and_urls_title"
android:summary="@string/autocomplete_searches_and_urls_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="navigation_error"
android:title="@string/navigation_error_suggestions_title"
android:summary="@string/navigation_error_suggestions_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="safe_browsing"
android:title="@string/safe_browsing_title"
android:summary="@string/safe_browsing_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="password_leak_detection"
android:title="@string/passwords_leak_detection_switch_title"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="safe_browsing_scout_reporting"
android:title="@string/safe_browsing_scout_reporting_title"
android:summary="@string/safe_browsing_scout_reporting_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="usage_and_crash_reports"
android:title="@string/usage_and_crash_reports_title"
android:summary="@string/usage_and_crash_reports_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="url_keyed_anonymized_data"
android:title="@string/url_keyed_anonymized_data_title"
android:summary="@string/url_keyed_anonymized_data_summary"
android:persistent="false"/>
<!-- Deprecated, this is being replaced by a dedicated settings subsection for autofill_assistant. There is a finch experiment that ensures that only one of those settings is shown at the same time. -->
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="autofill_assistant"
android:title="@string/prefs_autofill_assistant_title"
android:summary="@string/prefs_autofill_assistant_get_help_summary"
android:persistent="false"/>
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="autofill_assistant_subsection"
android:title="@string/prefs_autofill_assistant_title"
android:summary="@string/prefs_autofill_assistant_summary"
android:fragment="org.chromium.chrome.browser.autofill_assistant.AutofillAssistantPreferenceFragment"
app:isPreferenceVisible="false"/>
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="contextual_search"
android:title="@string/contextual_search_title"
android:fragment="org.chromium.chrome.browser.contextualsearch.ContextualSearchPreferenceFragment"/>
</PreferenceCategory>
</PreferenceScreen>