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_prompt_prefs.h" | 15 #include "chrome/browser/bookmarks/bookmark_prompt_prefs.h" |
16 #include "chrome/browser/bookmarks/bookmark_utils.h" | 16 #include "chrome/browser/bookmarks/bookmark_utils.h" |
17 #include "chrome/browser/browser_process_impl.h" | 17 #include "chrome/browser/browser_process_impl.h" |
18 #include "chrome/browser/browser_shutdown.h" | 18 #include "chrome/browser/browser_shutdown.h" |
19 #include "chrome/browser/chrome_content_browser_client.h" | 19 #include "chrome/browser/chrome_content_browser_client.h" |
20 #include "chrome/browser/component_updater/recovery_component_installer.h" | 20 #include "chrome/browser/component_updater/recovery_component_installer.h" |
21 #include "chrome/browser/content_settings/host_content_settings_map.h" | 21 #include "chrome/browser/content_settings/host_content_settings_map.h" |
22 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 22 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
23 #include "chrome/browser/devtools/devtools_window.h" | 23 #include "chrome/browser/devtools/devtools_window.h" |
24 #include "chrome/browser/download/download_prefs.h" | 24 #include "chrome/browser/download/download_prefs.h" |
25 #include "chrome/browser/extensions/activity_log/activity_log.h" | 25 #include "chrome/browser/extensions/activity_log/activity_log.h" |
26 #include "chrome/browser/extensions/api/commands/command_service.h" | 26 #include "chrome/browser/extensions/api/commands/command_service.h" |
27 #include "chrome/browser/extensions/api/tabs/tabs_api.h" | 27 #include "chrome/browser/extensions/api/tabs/tabs_api.h" |
28 #include "chrome/browser/extensions/extension_prefs.h" | |
29 #include "chrome/browser/extensions/extension_web_ui.h" | 28 #include "chrome/browser/extensions/extension_web_ui.h" |
30 #include "chrome/browser/extensions/external_component_loader.h" | 29 #include "chrome/browser/extensions/external_component_loader.h" |
31 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 30 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
32 #include "chrome/browser/first_run/first_run.h" | 31 #include "chrome/browser/first_run/first_run.h" |
33 #include "chrome/browser/geolocation/geolocation_prefs.h" | 32 #include "chrome/browser/geolocation/geolocation_prefs.h" |
34 #include "chrome/browser/google/google_url_tracker.h" | 33 #include "chrome/browser/google/google_url_tracker.h" |
35 #include "chrome/browser/google/google_url_tracker_factory.h" | 34 #include "chrome/browser/google/google_url_tracker_factory.h" |
36 #include "chrome/browser/gpu/gl_string_manager.h" | 35 #include "chrome/browser/gpu/gl_string_manager.h" |
37 #include "chrome/browser/gpu/gpu_mode_manager.h" | 36 #include "chrome/browser/gpu/gpu_mode_manager.h" |
38 #include "chrome/browser/intranet_redirect_detector.h" | 37 #include "chrome/browser/intranet_redirect_detector.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 90 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
92 #include "chrome/browser/ui/webui/plugins_ui.h" | 91 #include "chrome/browser/ui/webui/plugins_ui.h" |
93 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 92 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
94 #include "chrome/browser/upgrade_detector.h" | 93 #include "chrome/browser/upgrade_detector.h" |
95 #include "chrome/browser/web_resource/promo_resource_service.h" | 94 #include "chrome/browser/web_resource/promo_resource_service.h" |
96 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" | 95 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" |
97 #include "chrome/common/pref_names.h" | 96 #include "chrome/common/pref_names.h" |
98 #include "components/autofill/core/browser/autofill_manager.h" | 97 #include "components/autofill/core/browser/autofill_manager.h" |
99 #include "components/user_prefs/pref_registry_syncable.h" | 98 #include "components/user_prefs/pref_registry_syncable.h" |
100 #include "content/public/browser/render_process_host.h" | 99 #include "content/public/browser/render_process_host.h" |
| 100 #include "extensions/browser/extension_prefs.h" |
101 | 101 |
102 #if defined(ENABLE_AUTOFILL_DIALOG) | 102 #if defined(ENABLE_AUTOFILL_DIALOG) |
103 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 103 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
104 #endif | 104 #endif |
105 | 105 |
106 #if defined(ENABLE_CONFIGURATION_POLICY) | 106 #if defined(ENABLE_CONFIGURATION_POLICY) |
107 #include "components/policy/core/browser/browser_policy_connector.h" | 107 #include "components/policy/core/browser/browser_policy_connector.h" |
108 #include "components/policy/core/browser/url_blacklist_manager.h" | 108 #include "components/policy/core/browser/url_blacklist_manager.h" |
109 #include "components/policy/core/common/policy_statistics_collector.h" | 109 #include "components/policy/core/common/policy_statistics_collector.h" |
110 #endif | 110 #endif |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 571 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
572 current_version); | 572 current_version); |
573 } | 573 } |
574 | 574 |
575 #if defined(OS_CHROMEOS) | 575 #if defined(OS_CHROMEOS) |
576 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 576 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
577 #endif | 577 #endif |
578 } | 578 } |
579 | 579 |
580 } // namespace chrome | 580 } // namespace chrome |
OLD | NEW |