| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/prefs/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
| 6 | 6 |
| 7 #include "apps/prefs.h" | 7 #include "apps/prefs.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/prefs/pref_registry_simple.h" | 9 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| 11 #include "chrome/browser/about_flags.h" | 11 #include "chrome/browser/about_flags.h" |
| 12 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 12 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 13 #include "chrome/browser/apps/shortcut_manager.h" | 13 #include "chrome/browser/apps/shortcut_manager.h" |
| 14 #include "chrome/browser/background/background_mode_manager.h" | 14 #include "chrome/browser/background/background_mode_manager.h" |
| 15 #include "chrome/browser/bookmarks/bookmark_utils.h" | |
| 16 #include "chrome/browser/browser_process_impl.h" | 15 #include "chrome/browser/browser_process_impl.h" |
| 17 #include "chrome/browser/browser_shutdown.h" | 16 #include "chrome/browser/browser_shutdown.h" |
| 18 #include "chrome/browser/chrome_content_browser_client.h" | 17 #include "chrome/browser/chrome_content_browser_client.h" |
| 19 #include "chrome/browser/component_updater/recovery_component_installer.h" | 18 #include "chrome/browser/component_updater/recovery_component_installer.h" |
| 20 #include "chrome/browser/content_settings/host_content_settings_map.h" | 19 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 21 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 22 #include "chrome/browser/devtools/devtools_window.h" | 21 #include "chrome/browser/devtools/devtools_window.h" |
| 23 #include "chrome/browser/download/download_prefs.h" | 22 #include "chrome/browser/download/download_prefs.h" |
| 24 #include "chrome/browser/extensions/activity_log/activity_log.h" | 23 #include "chrome/browser/extensions/activity_log/activity_log.h" |
| 25 #include "chrome/browser/extensions/api/commands/command_service.h" | 24 #include "chrome/browser/extensions/api/commands/command_service.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "chrome/browser/ui/webui/instant_ui.h" | 84 #include "chrome/browser/ui/webui/instant_ui.h" |
| 86 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 85 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 87 #include "chrome/browser/ui/webui/plugins_ui.h" | 86 #include "chrome/browser/ui/webui/plugins_ui.h" |
| 88 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 87 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
| 89 #include "chrome/browser/upgrade_detector.h" | 88 #include "chrome/browser/upgrade_detector.h" |
| 90 #include "chrome/browser/web_resource/promo_resource_service.h" | 89 #include "chrome/browser/web_resource/promo_resource_service.h" |
| 91 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" | 90 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" |
| 92 #include "chrome/common/pref_names.h" | 91 #include "chrome/common/pref_names.h" |
| 93 #include "components/autofill/core/browser/autofill_manager.h" | 92 #include "components/autofill/core/browser/autofill_manager.h" |
| 94 #include "components/bookmarks/core/browser/bookmark_prompt_prefs.h" | 93 #include "components/bookmarks/core/browser/bookmark_prompt_prefs.h" |
| 94 #include "components/bookmarks/core/browser/bookmark_utils.h" |
| 95 #include "components/password_manager/core/browser/password_manager.h" | 95 #include "components/password_manager/core/browser/password_manager.h" |
| 96 #include "components/rappor/rappor_service.h" | 96 #include "components/rappor/rappor_service.h" |
| 97 #include "components/sync_driver/sync_prefs.h" | 97 #include "components/sync_driver/sync_prefs.h" |
| 98 #include "components/translate/core/browser/translate_prefs.h" | 98 #include "components/translate/core/browser/translate_prefs.h" |
| 99 #include "components/user_prefs/pref_registry_syncable.h" | 99 #include "components/user_prefs/pref_registry_syncable.h" |
| 100 #include "content/public/browser/render_process_host.h" | 100 #include "content/public/browser/render_process_host.h" |
| 101 #include "extensions/browser/extension_prefs.h" | 101 #include "extensions/browser/extension_prefs.h" |
| 102 | 102 |
| 103 #if defined(ENABLE_AUTOFILL_DIALOG) | 103 #if defined(ENABLE_AUTOFILL_DIALOG) |
| 104 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 104 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 573 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 574 current_version); | 574 current_version); |
| 575 } | 575 } |
| 576 | 576 |
| 577 #if defined(OS_CHROMEOS) | 577 #if defined(OS_CHROMEOS) |
| 578 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 578 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
| 579 #endif | 579 #endif |
| 580 } | 580 } |
| 581 | 581 |
| 582 } // namespace chrome | 582 } // namespace chrome |
| OLD | NEW |