[email protected] | 9e790bd | 2011-01-10 23:48:54 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
[email protected] | 37858e5 | 2010-08-26 00:22:02 | [diff] [blame] | 5 | #include "chrome/browser/prefs/browser_prefs.h" |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 6 | |
[email protected] | 1a47d7e | 2010-10-15 00:37:24 | [diff] [blame] | 7 | #include "chrome/browser/about_flags.h" |
[email protected] | 551c0ff | 2010-01-11 18:49:40 | [diff] [blame] | 8 | #include "chrome/browser/autofill/autofill_manager.h" |
[email protected] | 398206c | 2010-06-21 01:46:08 | [diff] [blame] | 9 | #include "chrome/browser/background_contents_service.h" |
[email protected] | 4c793f0 | 2010-08-18 20:55:45 | [diff] [blame] | 10 | #include "chrome/browser/background_mode_manager.h" |
[email protected] | b569c11 | 2010-11-22 20:53:44 | [diff] [blame] | 11 | #include "chrome/browser/background_page_tracker.h" |
[email protected] | 44b2c885 | 2009-03-18 00:57:49 | [diff] [blame] | 12 | #include "chrome/browser/bookmarks/bookmark_utils.h" |
[email protected] | c5cf0103 | 2009-02-16 07:00:37 | [diff] [blame] | 13 | #include "chrome/browser/browser_shutdown.h" |
[email protected] | 9d01a6a | 2010-11-30 12:03:33 | [diff] [blame] | 14 | #include "chrome/browser/content_settings/host_content_settings_map.h" |
[email protected] | a6d36cc | 2011-02-23 00:39:48 | [diff] [blame] | 15 | #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
[email protected] | e1ad5e6 | 2009-07-01 13:21:41 | [diff] [blame] | 16 | #include "chrome/browser/debugger/devtools_manager.h" |
[email protected] | e5dc422 | 2010-08-30 22:16:32 | [diff] [blame] | 17 | #include "chrome/browser/download/download_prefs.h" |
[email protected] | 18cc5a5 | 2011-04-15 16:03:38 | [diff] [blame] | 18 | #include "chrome/browser/extensions/apps_promo.h" |
[email protected] | fee8f022 | 2010-03-17 01:13:37 | [diff] [blame] | 19 | #include "chrome/browser/extensions/extension_prefs.h" |
[email protected] | 8f9d4eb | 2011-02-05 01:39:10 | [diff] [blame] | 20 | #include "chrome/browser/extensions/extension_web_ui.h" |
[email protected] | 30be1ce6 | 2009-10-27 18:03:22 | [diff] [blame] | 21 | #include "chrome/browser/extensions/extensions_ui.h" |
[email protected] | 559ce8549 | 2009-03-17 17:31:11 | [diff] [blame] | 22 | #include "chrome/browser/external_protocol_handler.h" |
[email protected] | aee541e | 2010-03-19 01:52:45 | [diff] [blame] | 23 | #include "chrome/browser/geolocation/geolocation_content_settings_map.h" |
[email protected] | 4e48d77 | 2010-02-18 12:11:14 | [diff] [blame] | 24 | #include "chrome/browser/geolocation/geolocation_prefs.h" |
[email protected] | f7578f5 | 2010-08-30 22:22:49 | [diff] [blame] | 25 | #include "chrome/browser/google/google_url_tracker.h" |
[email protected] | 480760a | 2011-01-18 16:14:48 | [diff] [blame] | 26 | #include "chrome/browser/instant/instant_controller.h" |
[email protected] | 5e9d1f7 | 2011-01-19 14:15:23 | [diff] [blame] | 27 | #include "chrome/browser/intranet_redirect_detector.h" |
[email protected] | 67908205 | 2010-07-21 21:30:13 | [diff] [blame] | 28 | #include "chrome/browser/metrics/metrics_log.h" |
[email protected] | 0b88fdb | 2009-02-13 18:07:44 | [diff] [blame] | 29 | #include "chrome/browser/metrics/metrics_service.h" |
[email protected] | 5e9d1f7 | 2011-01-19 14:15:23 | [diff] [blame] | 30 | #include "chrome/browser/net/net_pref_observer.h" |
[email protected] | 3530cd9 | 2010-06-27 06:22:01 | [diff] [blame] | 31 | #include "chrome/browser/net/predictor_api.h" |
[email protected] | df7eafc | 2010-12-08 13:46:38 | [diff] [blame] | 32 | #include "chrome/browser/net/pref_proxy_config_service.h" |
[email protected] | 480760a | 2011-01-18 16:14:48 | [diff] [blame] | 33 | #include "chrome/browser/notifications/desktop_notification_service.h" |
[email protected] | 5e9d1f7 | 2011-01-19 14:15:23 | [diff] [blame] | 34 | #include "chrome/browser/notifications/notification_ui_manager.h" |
[email protected] | 4d67720 | 2009-07-19 07:37:12 | [diff] [blame] | 35 | #include "chrome/browser/page_info_model.h" |
[email protected] | 93ee5f8 | 2009-02-16 06:32:45 | [diff] [blame] | 36 | #include "chrome/browser/password_manager/password_manager.h" |
[email protected] | 9eee50d5 | 2011-04-14 09:07:48 | [diff] [blame] | 37 | #include "chrome/browser/policy/cloud_policy_subsystem.h" |
[email protected] | 37858e5 | 2010-08-26 00:22:02 | [diff] [blame] | 38 | #include "chrome/browser/prefs/session_startup_pref.h" |
[email protected] | f16b966 | 2011-04-27 10:06:07 | [diff] [blame] | 39 | #include "chrome/browser/printing/print_job_manager.h" |
[email protected] | 8ecad5e | 2010-12-02 21:18:33 | [diff] [blame] | 40 | #include "chrome/browser/profiles/profile_impl.h" |
[email protected] | 29d7025 | 2011-04-28 02:16:58 | [diff] [blame] | 41 | #include "chrome/browser/profiles/profile_manager.h" |
[email protected] | 2c434b3 | 2009-03-19 06:27:47 | [diff] [blame] | 42 | #include "chrome/browser/renderer_host/web_cache_manager.h" |
[email protected] | 559ce8549 | 2009-03-17 17:31:11 | [diff] [blame] | 43 | #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
[email protected] | b6fd1fa7 | 2010-10-05 23:49:31 | [diff] [blame] | 44 | #include "chrome/browser/search_engines/template_url_model.h" |
[email protected] | f63ae31 | 2009-02-04 17:58:46 | [diff] [blame] | 45 | #include "chrome/browser/search_engines/template_url_prepopulate_data.h" |
[email protected] | 7a73e25 | 2009-03-04 19:00:43 | [diff] [blame] | 46 | #include "chrome/browser/ssl/ssl_manager.h" |
[email protected] | e8234d3 | 2010-09-09 20:36:39 | [diff] [blame] | 47 | #include "chrome/browser/sync/signin_manager.h" |
[email protected] | 37858e5 | 2010-08-26 00:22:02 | [diff] [blame] | 48 | #include "chrome/browser/tabs/pinned_tab_codec.h" |
[email protected] | a5d1e1e | 2010-09-23 19:34:12 | [diff] [blame] | 49 | #include "chrome/browser/task_manager/task_manager.h" |
[email protected] | f07816929 | 2010-04-07 23:31:58 | [diff] [blame] | 50 | #include "chrome/browser/translate/translate_prefs.h" |
[email protected] | 440348f | 2010-11-16 00:30:19 | [diff] [blame] | 51 | #include "chrome/browser/ui/browser.h" |
[email protected] | 62f7777 | 2011-02-23 19:45:42 | [diff] [blame] | 52 | #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
[email protected] | 0dd3a0ab | 2011-02-18 08:17:44 | [diff] [blame] | 53 | #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
[email protected] | 265a149 | 2011-02-27 05:58:07 | [diff] [blame] | 54 | #include "chrome/browser/ui/webui/flags_ui.h" |
55 | #include "chrome/browser/ui/webui/new_tab_ui.h" | ||||
56 | #include "chrome/browser/ui/webui/plugins_ui.h" | ||||
[email protected] | 8fcec3c7 | 2010-06-03 00:17:22 | [diff] [blame] | 57 | #include "chrome/browser/upgrade_detector.h" |
[email protected] | 18cc5a5 | 2011-04-15 16:03:38 | [diff] [blame] | 58 | #include "chrome/browser/web_resource/promo_resource_service.h" |
[email protected] | f87919d7 | 2011-02-02 18:46:16 | [diff] [blame] | 59 | #include "chrome/common/pref_names.h" |
[email protected] | b6021d3 | 2011-02-26 01:25:54 | [diff] [blame] | 60 | #include "content/browser/host_zoom_map.h" |
[email protected] | 05fcf98 | 2011-04-19 00:44:14 | [diff] [blame] | 61 | #include "content/browser/renderer_host/browser_render_process_host.h" |
[email protected] | a814d863 | 2009-01-31 20:18:52 | [diff] [blame] | 62 | |
[email protected] | 0ef42ff9 | 2009-07-06 20:17:35 | [diff] [blame] | 63 | #if defined(TOOLKIT_VIEWS) // TODO(port): whittle this down as we port |
[email protected] | 9e790bd | 2011-01-10 23:48:54 | [diff] [blame] | 64 | #include "chrome/browser/ui/views/browser_actions_container.h" |
65 | #include "chrome/browser/ui/views/frame/browser_view.h" | ||||
[email protected] | 0ef42ff9 | 2009-07-06 20:17:35 | [diff] [blame] | 66 | #endif |
67 | |||||
[email protected] | fc7611b3 | 2009-07-31 21:52:44 | [diff] [blame] | 68 | #if defined(TOOLKIT_GTK) |
[email protected] | 93270d00 | 2011-01-19 22:32:59 | [diff] [blame] | 69 | #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
[email protected] | fc7611b3 | 2009-07-31 21:52:44 | [diff] [blame] | 70 | #endif |
71 | |||||
[email protected] | 9acc4860 | 2009-11-30 21:18:51 | [diff] [blame] | 72 | #if defined(OS_CHROMEOS) |
[email protected] | 5fbc363 | 2011-01-19 00:52:12 | [diff] [blame] | 73 | #include "chrome/browser/chromeos/audio_mixer_alsa.h" |
[email protected] | 9ef8683 | 2011-04-28 06:54:33 | [diff] [blame^] | 74 | #include "chrome/browser/chromeos/customization_document.h" |
[email protected] | 20564b3c | 2010-10-28 14:25:46 | [diff] [blame] | 75 | #include "chrome/browser/chromeos/login/signed_settings_temp_storage.h" |
[email protected] | 8f0d8ecd1 | 2010-04-20 11:51:30 | [diff] [blame] | 76 | #include "chrome/browser/chromeos/login/user_manager.h" |
[email protected] | 21f90b8 | 2010-06-30 12:01:07 | [diff] [blame] | 77 | #include "chrome/browser/chromeos/login/wizard_controller.h" |
[email protected] | 9acc4860 | 2009-11-30 21:18:51 | [diff] [blame] | 78 | #include "chrome/browser/chromeos/preferences.h" |
[email protected] | f3964ad | 2011-01-25 05:06:35 | [diff] [blame] | 79 | #include "chrome/browser/chromeos/status/input_method_menu.h" |
[email protected] | 2bb5fcd | 2010-11-16 14:31:54 | [diff] [blame] | 80 | #include "chrome/browser/chromeos/user_cros_settings_provider.h" |
[email protected] | 9acc4860 | 2009-11-30 21:18:51 | [diff] [blame] | 81 | #endif |
82 | |||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 83 | namespace browser { |
84 | |||||
[email protected] | 9acc4860 | 2009-11-30 21:18:51 | [diff] [blame] | 85 | void RegisterLocalState(PrefService* local_state) { |
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 86 | // Prefs in Local State |