| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/about_flags.h" | 7 #include "chrome/browser/about_flags.h" |
| 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 9 #include "chrome/browser/autocomplete/zero_suggest_provider.h" | |
| 10 #include "chrome/browser/autofill/autofill_manager.h" | 9 #include "chrome/browser/autofill/autofill_manager.h" |
| 11 #include "chrome/browser/background/background_mode_manager.h" | 10 #include "chrome/browser/background/background_mode_manager.h" |
| 12 #include "chrome/browser/bookmarks/bookmark_utils.h" | 11 #include "chrome/browser/bookmarks/bookmark_utils.h" |
| 13 #include "chrome/browser/browser_shutdown.h" | 12 #include "chrome/browser/browser_shutdown.h" |
| 14 #include "chrome/browser/chrome_content_browser_client.h" | 13 #include "chrome/browser/chrome_content_browser_client.h" |
| 15 #include "chrome/browser/content_settings/host_content_settings_map.h" | 14 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 15 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 17 #include "chrome/browser/debugger/devtools_window.h" | 16 #include "chrome/browser/debugger/devtools_window.h" |
| 18 #include "chrome/browser/download/download_prefs.h" | 17 #include "chrome/browser/download/download_prefs.h" |
| 19 #include "chrome/browser/extensions/api/commands/command_service.h" | 18 #include "chrome/browser/extensions/api/commands/command_service.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "chrome/browser/translate/translate_prefs.h" | 55 #include "chrome/browser/translate/translate_prefs.h" |
| 57 #include "chrome/browser/ui/alternate_error_tab_observer.h" | 56 #include "chrome/browser/ui/alternate_error_tab_observer.h" |
| 58 #include "chrome/browser/ui/browser_ui_prefs.h" | 57 #include "chrome/browser/ui/browser_ui_prefs.h" |
| 59 #include "chrome/browser/ui/network_profile_bubble.h" | 58 #include "chrome/browser/ui/network_profile_bubble.h" |
| 60 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 59 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 61 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" | 60 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
| 62 #include "chrome/browser/ui/startup/autolaunch_prompt.h" | 61 #include "chrome/browser/ui/startup/autolaunch_prompt.h" |
| 63 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" | 62 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" |
| 64 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" | 63 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" |
| 65 #include "chrome/browser/ui/webui/flags_ui.h" | 64 #include "chrome/browser/ui/webui/flags_ui.h" |
| 65 #include "chrome/browser/ui/webui/instant_ui.h" |
| 66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 67 #include "chrome/browser/ui/webui/plugins_ui.h" | 67 #include "chrome/browser/ui/webui/plugins_ui.h" |
| 68 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 68 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
| 69 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" | 69 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" |
| 70 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" | 70 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" |
| 71 #include "chrome/browser/upgrade_detector.h" | 71 #include "chrome/browser/upgrade_detector.h" |
| 72 #include "chrome/browser/web_resource/promo_resource_service.h" | 72 #include "chrome/browser/web_resource/promo_resource_service.h" |
| 73 #include "chrome/common/pref_names.h" | 73 #include "chrome/common/pref_names.h" |
| 74 #include "content/public/browser/render_process_host.h" | 74 #include "content/public/browser/render_process_host.h" |
| 75 | 75 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs); | 222 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs); |
| 223 PrefsTabHelper::RegisterUserPrefs(user_prefs); | 223 PrefsTabHelper::RegisterUserPrefs(user_prefs); |
| 224 ProfileImpl::RegisterUserPrefs(user_prefs); | 224 ProfileImpl::RegisterUserPrefs(user_prefs); |
| 225 PromoResourceService::RegisterUserPrefs(user_prefs); | 225 PromoResourceService::RegisterUserPrefs(user_prefs); |
| 226 ProtocolHandlerRegistry::RegisterPrefs(user_prefs); | 226 ProtocolHandlerRegistry::RegisterPrefs(user_prefs); |
| 227 RegisterBrowserUserPrefs(user_prefs); | 227 RegisterBrowserUserPrefs(user_prefs); |
| 228 SessionStartupPref::RegisterUserPrefs(user_prefs); | 228 SessionStartupPref::RegisterUserPrefs(user_prefs); |
| 229 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); | 229 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); |
| 230 TranslatePrefs::RegisterUserPrefs(user_prefs); | 230 TranslatePrefs::RegisterUserPrefs(user_prefs); |
| 231 web_intents::RegisterUserPrefs(user_prefs); | 231 web_intents::RegisterUserPrefs(user_prefs); |
| 232 ZeroSuggestProvider::RegisterUserPrefs(user_prefs); | 232 InstantUI::RegisterUserPrefs(user_prefs); |
| 233 | 233 |
| 234 #if defined(ENABLE_CONFIGURATION_POLICY) | 234 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 235 policy::URLBlacklistManager::RegisterPrefs(user_prefs); | 235 policy::URLBlacklistManager::RegisterPrefs(user_prefs); |
| 236 #endif | 236 #endif |
| 237 | 237 |
| 238 #if defined(TOOLKIT_VIEWS) | 238 #if defined(TOOLKIT_VIEWS) |
| 239 RegisterInvertBubbleUserPrefs(user_prefs); | 239 RegisterInvertBubbleUserPrefs(user_prefs); |
| 240 #elif defined(TOOLKIT_GTK) | 240 #elif defined(TOOLKIT_GTK) |
| 241 BrowserWindowGtk::RegisterUserPrefs(user_prefs); | 241 BrowserWindowGtk::RegisterUserPrefs(user_prefs); |
| 242 #endif | 242 #endif |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 } | 342 } |
| 343 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 343 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 344 | 344 |
| 345 current_version |= GOOGLE_URL_TRACKER_PREFS; | 345 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 346 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 346 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 347 current_version); | 347 current_version); |
| 348 } | 348 } |
| 349 } | 349 } |
| 350 | 350 |
| 351 } // namespace chrome | 351 } // namespace chrome |
| OLD | NEW |