OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/about_flags.h" |
7 #include "chrome/browser/autofill/autofill_manager.h" | 8 #include "chrome/browser/autofill/autofill_manager.h" |
8 #include "chrome/browser/background_contents_service.h" | 9 #include "chrome/browser/background_contents_service.h" |
9 #include "chrome/browser/background_mode_manager.h" | 10 #include "chrome/browser/background_mode_manager.h" |
10 #include "chrome/browser/bookmarks/bookmark_utils.h" | 11 #include "chrome/browser/bookmarks/bookmark_utils.h" |
11 #include "chrome/browser/browser.h" | 12 #include "chrome/browser/browser.h" |
12 #include "chrome/browser/browser_shutdown.h" | 13 #include "chrome/browser/browser_shutdown.h" |
13 #include "chrome/browser/debugger/devtools_manager.h" | 14 #include "chrome/browser/debugger/devtools_manager.h" |
14 #include "chrome/browser/dom_ui/labs_ui.h" | 15 #include "chrome/browser/dom_ui/flags_ui.h" |
15 #include "chrome/browser/dom_ui/new_tab_ui.h" | 16 #include "chrome/browser/dom_ui/new_tab_ui.h" |
16 #include "chrome/browser/dom_ui/plugins_ui.h" | 17 #include "chrome/browser/dom_ui/plugins_ui.h" |
17 #include "chrome/browser/download/download_prefs.h" | 18 #include "chrome/browser/download/download_prefs.h" |
18 #include "chrome/browser/extensions/extension_dom_ui.h" | 19 #include "chrome/browser/extensions/extension_dom_ui.h" |
19 #include "chrome/browser/extensions/extension_prefs.h" | 20 #include "chrome/browser/extensions/extension_prefs.h" |
20 #include "chrome/browser/extensions/extensions_ui.h" | 21 #include "chrome/browser/extensions/extensions_ui.h" |
21 #include "chrome/browser/external_protocol_handler.h" | 22 #include "chrome/browser/external_protocol_handler.h" |
22 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" | 23 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" |
23 #include "chrome/browser/geolocation/geolocation_prefs.h" | 24 #include "chrome/browser/geolocation/geolocation_prefs.h" |
24 #include "chrome/browser/google/google_url_tracker.h" | 25 #include "chrome/browser/google/google_url_tracker.h" |
25 #include "chrome/browser/host_content_settings_map.h" | 26 #include "chrome/browser/host_content_settings_map.h" |
26 #include "chrome/browser/host_zoom_map.h" | 27 #include "chrome/browser/host_zoom_map.h" |
27 #include "chrome/browser/intranet_redirect_detector.h" | 28 #include "chrome/browser/intranet_redirect_detector.h" |
28 #include "chrome/browser/instant/instant_controller.h" | 29 #include "chrome/browser/instant/instant_controller.h" |
29 #include "chrome/browser/labs.h" | |
30 #include "chrome/browser/metrics/metrics_log.h" | 30 #include "chrome/browser/metrics/metrics_log.h" |
31 #include "chrome/browser/metrics/metrics_service.h" | 31 #include "chrome/browser/metrics/metrics_service.h" |
32 #include "chrome/browser/net/chrome_url_request_context.h" | 32 #include "chrome/browser/net/chrome_url_request_context.h" |
33 #include "chrome/browser/net/predictor_api.h" | 33 #include "chrome/browser/net/predictor_api.h" |
34 #include "chrome/browser/notifications/desktop_notification_service.h" | 34 #include "chrome/browser/notifications/desktop_notification_service.h" |
35 #include "chrome/browser/page_info_model.h" | 35 #include "chrome/browser/page_info_model.h" |
36 #include "chrome/browser/password_manager/password_manager.h" | 36 #include "chrome/browser/password_manager/password_manager.h" |
37 #include "chrome/browser/prefs/session_startup_pref.h" | 37 #include "chrome/browser/prefs/session_startup_pref.h" |
38 #include "chrome/browser/profile_impl.h" | 38 #include "chrome/browser/profile_impl.h" |
39 #include "chrome/browser/renderer_host/browser_render_process_host.h" | 39 #include "chrome/browser/renderer_host/browser_render_process_host.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 SessionStartupPref::RegisterUserPrefs(user_prefs); | 112 SessionStartupPref::RegisterUserPrefs(user_prefs); |
113 Browser::RegisterUserPrefs(user_prefs); | 113 Browser::RegisterUserPrefs(user_prefs); |
114 PasswordManager::RegisterUserPrefs(user_prefs); | 114 PasswordManager::RegisterUserPrefs(user_prefs); |
115 chrome_browser_net::RegisterUserPrefs(user_prefs); | 115 chrome_browser_net::RegisterUserPrefs(user_prefs); |
116 DownloadPrefs::RegisterUserPrefs(user_prefs); | 116 DownloadPrefs::RegisterUserPrefs(user_prefs); |
117 bookmark_utils::RegisterUserPrefs(user_prefs); | 117 bookmark_utils::RegisterUserPrefs(user_prefs); |
118 TabContents::RegisterUserPrefs(user_prefs); | 118 TabContents::RegisterUserPrefs(user_prefs); |
119 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); | 119 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); |
120 ExtensionDOMUI::RegisterUserPrefs(user_prefs); | 120 ExtensionDOMUI::RegisterUserPrefs(user_prefs); |
121 ExtensionsUI::RegisterUserPrefs(user_prefs); | 121 ExtensionsUI::RegisterUserPrefs(user_prefs); |
122 if (about_labs::IsEnabled()) | 122 if (about_flags::IsEnabled()) |
123 LabsUI::RegisterUserPrefs(user_prefs); | 123 FlagsUI::RegisterUserPrefs(user_prefs); |
124 NewTabUI::RegisterUserPrefs(user_prefs); | 124 NewTabUI::RegisterUserPrefs(user_prefs); |
125 PluginsUI::RegisterUserPrefs(user_prefs); | 125 PluginsUI::RegisterUserPrefs(user_prefs); |
126 ProfileImpl::RegisterUserPrefs(user_prefs); | 126 ProfileImpl::RegisterUserPrefs(user_prefs); |
127 HostContentSettingsMap::RegisterUserPrefs(user_prefs); | 127 HostContentSettingsMap::RegisterUserPrefs(user_prefs); |
128 HostZoomMap::RegisterUserPrefs(user_prefs); | 128 HostZoomMap::RegisterUserPrefs(user_prefs); |
129 DevToolsManager::RegisterUserPrefs(user_prefs); | 129 DevToolsManager::RegisterUserPrefs(user_prefs); |
130 PinnedTabCodec::RegisterUserPrefs(user_prefs); | 130 PinnedTabCodec::RegisterUserPrefs(user_prefs); |
131 ExtensionPrefs::RegisterUserPrefs(user_prefs); | 131 ExtensionPrefs::RegisterUserPrefs(user_prefs); |
132 GeolocationContentSettingsMap::RegisterUserPrefs(user_prefs); | 132 GeolocationContentSettingsMap::RegisterUserPrefs(user_prefs); |
133 TranslatePrefs::RegisterUserPrefs(user_prefs); | 133 TranslatePrefs::RegisterUserPrefs(user_prefs); |
134 DesktopNotificationService::RegisterUserPrefs(user_prefs); | 134 DesktopNotificationService::RegisterUserPrefs(user_prefs); |
135 ChromeURLRequestContextGetter::RegisterUserPrefs(user_prefs); | 135 ChromeURLRequestContextGetter::RegisterUserPrefs(user_prefs); |
136 #if defined(TOOLKIT_VIEWS) | 136 #if defined(TOOLKIT_VIEWS) |
137 BrowserActionsContainer::RegisterUserPrefs(user_prefs); | 137 BrowserActionsContainer::RegisterUserPrefs(user_prefs); |
138 #elif defined(TOOLKIT_GTK) | 138 #elif defined(TOOLKIT_GTK) |
139 BrowserWindowGtk::RegisterUserPrefs(user_prefs); | 139 BrowserWindowGtk::RegisterUserPrefs(user_prefs); |
140 #endif | 140 #endif |
141 #if defined(OS_CHROMEOS) | 141 #if defined(OS_CHROMEOS) |
142 chromeos::Preferences::RegisterUserPrefs(user_prefs); | 142 chromeos::Preferences::RegisterUserPrefs(user_prefs); |
143 #endif | 143 #endif |
144 BackgroundContentsService::RegisterUserPrefs(user_prefs); | 144 BackgroundContentsService::RegisterUserPrefs(user_prefs); |
145 SigninManager::RegisterUserPrefs(user_prefs); | 145 SigninManager::RegisterUserPrefs(user_prefs); |
146 TemplateURLModel::RegisterUserPrefs(user_prefs); | 146 TemplateURLModel::RegisterUserPrefs(user_prefs); |
147 InstantController::RegisterUserPrefs(user_prefs); | 147 InstantController::RegisterUserPrefs(user_prefs); |
148 } | 148 } |
149 | 149 |
150 } // namespace browser | 150 } // namespace browser |
OLD | NEW |