<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 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"
    android:orderingFromXml="false">
    <org.chromium.chrome.browser.ui.settings_promo_card.SettingsPromoCardPreference
        android:key="settings_promo_card"
        android:order="0" />
    <PreferenceCategory
        android:key="account_and_google_services_section"
        android:order="1"
        android:title="@string/prefs_section_account_and_google_services"/>
    <org.chromium.chrome.browser.sync.settings.SignInPreference
        android:key="sign_in"
        android:order="2"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:key="google_services"
        android:order="4"
        android:layout="@layout/account_management_account_row"
        android:title="@string/prefs_google_services"
        android:icon="@drawable/ic_google_services_48dp_with_bg"
        android:fragment="org.chromium.chrome.browser.sync.settings.GoogleServicesSettings"/>

    <PreferenceCategory
        android:key="basics_section"
        android:order="5"
        android:title="@string/prefs_section_basics"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.search_engines.settings.SearchEngineSettings"
        android:key="search_engine"
        android:order="6"
        android:title="@string/search_engine_settings"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.toolbar.settings.AddressBarSettingsFragment"
        android:key="address_bar"
        android:order="7"
        android:title="@string/address_bar_settings"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.privacy.settings.PrivacySettings"
        android:key="privacy"
        android:order="8"
        android:title="@string/prefs_privacy_security"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.safety_hub.SafetyHubFragment"
        android:key="safety_hub"
        android:order="9"
        android:title="@string/prefs_safety_check"/>
    <Preference
        android:key="default_browser"
        android:order="10"
        android:title="@string/default_browser_title" />

    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.autofill.settings.AutofillAndPasswordsFragment"
        android:key="autofill_and_passwords"
        android:order="11"
        android:title="@string/autofill_and_passwords_settings_title"/>

    <PreferenceCategory
        android:key="autofill_section"
        android:order="12"
        android:title="@string/prefs_section_autofill"/>
    <org.chromium.chrome.browser.password_manager.settings.PasswordsPreference
        android:key="passwords"
        android:order="13"
        android:title="@string/password_manager_settings_title"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.autofill.settings.AutofillPaymentMethodsFragment"
        android:key="autofill_payment_methods"
        android:order="14"
        android:title="@string/autofill_payment_methods"
        app:keywords="@string/autofill_payment_methods_keywords"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.autofill.settings.AutofillProfilesFragment"
        android:key="autofill_addresses"
        android:order="15"
        android:title="@string/autofill_addresses_settings_title"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:key="autofill_options"
        android:order="17" />

    <PreferenceCategory
        android:key="advanced_section"
        android:order="18"
        android:title="@string/prefs_section_advanced"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.tasks.tab_management.TabsSettings"
        android:key="tabs"
        android:order="19"
        android:title="@string/tabs_settings_title"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.homepage.settings.HomepageSettings"
        android:key="homepage"
        android:order="20"
        android:title="@string/options_homepage_title"/>
    <Preference
        android:key="notifications"
        android:order="22"
        android:title="@string/prefs_notifications"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.appearance.settings.AppearanceSettingsFragment"
        android:key="appearance"
        android:order="23"
        android:title="@string/appearance_settings" />
    <Preference
        android:fragment="org.chromium.chrome.browser.glic.GlicSettings"
        android:key="glic"
        android:order="25"
        android:title="@string/glic_setting_label"/>
    <Preference
        android:fragment="org.chromium.components.browser_ui.accessibility.AccessibilitySettings"
        android:key="accessibility"
        android:order="26"
        android:title="@string/prefs_accessibility"/>
    <Preference
        android:fragment="org.chromium.components.browser_ui.site_settings.SiteSettings"
        android:key="content_settings"
        android:order="27"
        android:title="@string/prefs_site_settings"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.language.settings.LanguageSettings"
        android:key="languages"
        android:order="28"
        android:title="@string/language_settings"/>
    <org.chromium.components.browser_ui.settings.ChromeBasePreference
        android:fragment="org.chromium.chrome.browser.download.settings.DownloadSettings"
        android:key="downloads"
        android:order="29"
        android:title="@string/menu_downloads"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.tracing.settings.DeveloperSettings"
        android:key="developer"
        android:order="30"
        android:title="Developer options"/>
    <Preference
        android:fragment="org.chromium.chrome.browser.about_settings.AboutChromeSettings"
        android:key="about_chrome"
        android:order="31"
        android:title="@string/prefs_about_chrome"/>

</PreferenceScreen>
