| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
| 10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
| 11 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 12 #include "chrome/browser/about_flags.h" | 12 #include "chrome/browser/about_flags.h" |
| 13 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 13 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 14 #include "chrome/browser/apps/drive/drive_app_mapping.h" | 14 #include "chrome/browser/apps/drive/drive_app_mapping.h" |
| 15 #include "chrome/browser/apps/shortcut_manager.h" | 15 #include "chrome/browser/apps/shortcut_manager.h" |
| 16 #include "chrome/browser/autocomplete/zero_suggest_provider.h" | 16 #include "chrome/browser/autocomplete/zero_suggest_provider.h" |
| 17 #include "chrome/browser/background/background_mode_manager.h" | 17 #include "chrome/browser/background/background_mode_manager.h" |
| 18 #include "chrome/browser/browser_process_impl.h" | 18 #include "chrome/browser/browser_process_impl.h" |
| 19 #include "chrome/browser/browser_shutdown.h" | 19 #include "chrome/browser/browser_shutdown.h" |
| 20 #include "chrome/browser/chrome_content_browser_client.h" | 20 #include "chrome/browser/chrome_content_browser_client.h" |
| 21 #include "chrome/browser/component_updater/recovery_component_installer.h" | 21 #include "chrome/browser/component_updater/recovery_component_installer.h" |
| 22 #include "chrome/browser/content_settings/host_content_settings_map.h" | 22 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 23 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 23 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 24 #include "chrome/browser/devtools/devtools_window.h" | 24 #include "chrome/browser/devtools/devtools_window.h" |
| 25 #include "chrome/browser/download/download_prefs.h" | 25 #include "chrome/browser/download/download_prefs.h" |
| 26 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 26 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 27 #include "chrome/browser/first_run/first_run.h" | 27 #include "chrome/browser/first_run/first_run.h" |
| 28 #include "chrome/browser/geolocation/geolocation_prefs.h" | 28 #include "chrome/browser/geolocation/geolocation_prefs.h" |
| 29 #include "chrome/browser/google/google_url_tracker_factory.h" | 29 #include "chrome/browser/google/google_url_tracker_factory.h" |
| 30 #include "chrome/browser/gpu/gl_string_manager.h" | |
| 31 #include "chrome/browser/gpu/gpu_mode_manager.h" | 30 #include "chrome/browser/gpu/gpu_mode_manager.h" |
| 31 #include "chrome/browser/gpu/gpu_pref_manager.h" |
| 32 #include "chrome/browser/intranet_redirect_detector.h" | 32 #include "chrome/browser/intranet_redirect_detector.h" |
| 33 #include "chrome/browser/io_thread.h" | 33 #include "chrome/browser/io_thread.h" |
| 34 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 34 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
| 35 #include "chrome/browser/media/media_device_id_salt.h" | 35 #include "chrome/browser/media/media_device_id_salt.h" |
| 36 #include "chrome/browser/media/media_stream_devices_controller.h" | 36 #include "chrome/browser/media/media_stream_devices_controller.h" |
| 37 #include "chrome/browser/metrics/chrome_metrics_service_client.h" | 37 #include "chrome/browser/metrics/chrome_metrics_service_client.h" |
| 38 #include "chrome/browser/metrics/variations/variations_service.h" | 38 #include "chrome/browser/metrics/variations/variations_service.h" |
| 39 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 39 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
| 40 #include "chrome/browser/net/net_pref_observer.h" | 40 #include "chrome/browser/net/net_pref_observer.h" |
| 41 #include "chrome/browser/net/prediction_options.h" | 41 #include "chrome/browser/net/prediction_options.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 AppListService::RegisterPrefs(registry); | 241 AppListService::RegisterPrefs(registry); |
| 242 browser_shutdown::RegisterPrefs(registry); | 242 browser_shutdown::RegisterPrefs(registry); |
| 243 BrowserProcessImpl::RegisterPrefs(registry); | 243 BrowserProcessImpl::RegisterPrefs(registry); |
| 244 ChromeMetricsServiceClient::RegisterPrefs(registry); | 244 ChromeMetricsServiceClient::RegisterPrefs(registry); |
| 245 chrome_prefs::RegisterPrefs(registry); | 245 chrome_prefs::RegisterPrefs(registry); |
| 246 chrome_variations::VariationsService::RegisterPrefs(registry); | 246 chrome_variations::VariationsService::RegisterPrefs(registry); |
| 247 component_updater::RegisterPrefsForRecoveryComponent(registry); | 247 component_updater::RegisterPrefsForRecoveryComponent(registry); |
| 248 ExternalProtocolHandler::RegisterPrefs(registry); | 248 ExternalProtocolHandler::RegisterPrefs(registry); |
| 249 FlagsUI::RegisterPrefs(registry); | 249 FlagsUI::RegisterPrefs(registry); |
| 250 geolocation::RegisterPrefs(registry); | 250 geolocation::RegisterPrefs(registry); |
| 251 GLStringManager::RegisterPrefs(registry); | |
| 252 GpuModeManager::RegisterPrefs(registry); | 251 GpuModeManager::RegisterPrefs(registry); |
| 252 GpuPrefManager::RegisterPrefs(registry); |
| 253 IntranetRedirectDetector::RegisterPrefs(registry); | 253 IntranetRedirectDetector::RegisterPrefs(registry); |
| 254 IOThread::RegisterPrefs(registry); | 254 IOThread::RegisterPrefs(registry); |
| 255 KeywordEditorController::RegisterPrefs(registry); | 255 KeywordEditorController::RegisterPrefs(registry); |
| 256 network_time::NetworkTimeTracker::RegisterPrefs(registry); | 256 network_time::NetworkTimeTracker::RegisterPrefs(registry); |
| 257 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 257 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
| 258 ProfileInfoCache::RegisterPrefs(registry); | 258 ProfileInfoCache::RegisterPrefs(registry); |
| 259 profiles::RegisterPrefs(registry); | 259 profiles::RegisterPrefs(registry); |
| 260 PromoResourceService::RegisterPrefs(registry); | 260 PromoResourceService::RegisterPrefs(registry); |
| 261 rappor::RapporService::RegisterPrefs(registry); | 261 rappor::RapporService::RegisterPrefs(registry); |
| 262 RegisterScreenshotPrefs(registry); | 262 RegisterScreenshotPrefs(registry); |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 #if defined(OS_CHROMEOS) | 612 #if defined(OS_CHROMEOS) |
| 613 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 613 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
| 614 #endif | 614 #endif |
| 615 | 615 |
| 616 #if defined(TOOLKIT_VIEWS) | 616 #if defined(TOOLKIT_VIEWS) |
| 617 MigrateBrowserTabStripPrefs(local_state); | 617 MigrateBrowserTabStripPrefs(local_state); |
| 618 #endif | 618 #endif |
| 619 } | 619 } |
| 620 | 620 |
| 621 } // namespace chrome | 621 } // namespace chrome |
| OLD | NEW |