blob: c082183dd914ffc84fee080ca4c7d1c815989ec6 [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">
<PreferenceCategory
android:key="user_category"
android:title="@string/user"/>
<org.chromium.chrome.browser.settings.sync.SignInPreference
android:key="sign_in"
android:title="@string/sign_in_to_chrome"/>
<org.chromium.chrome.browser.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.chrome.browser.settings.ChromeSwitchPreference
android:key="sync_requested"
android:title="@string/sync_switch_title"
android:persistent="false"/>
<org.chromium.chrome.browser.settings.ChromeBasePreference
android:key="manage_sync"
android:title="@string/manage_sync_title"
android:fragment="org.chromium.chrome.browser.settings.sync.ManageSyncPreferences"/>
</PreferenceCategory>
<PreferenceCategory
android:key="services_category"
android:title="@string/services_category_title">
<org.chromium.chrome.browser.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.chrome.browser.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.chrome.browser.settings.ChromeSwitchPreference
android:key="safe_browsing"
android:title="@string/safe_browsing_title"
android:summary="@string/safe_browsing_summary"
android:persistent="false"/>
<org.chromium.chrome.browser.settings.ChromeSwitchPreference
android:key="password_leak_detection"
android:title="@string/passwords_leak_detection_switch_title"
android:persistent="false"/>
<org.chromium.chrome.browser.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.chrome.browser.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.chrome.browser.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"/>
<org.chromium.chrome.browser.settings.ChromeBasePreference
android:key="contextual_search"
android:title="@string/contextual_search_title"
android:fragment="org.chromium.chrome.browser.settings.privacy.ContextualSearchPreferenceFragment"/>
</PreferenceCategory>
</PreferenceScreen>