| 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/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 48 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 49 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 49 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 50 #include "chrome/browser/prefs/pref_service_syncable.h" | 50 #include "chrome/browser/prefs/pref_service_syncable.h" |
| 51 #include "chrome/browser/prefs/session_startup_pref.h" | 51 #include "chrome/browser/prefs/session_startup_pref.h" |
| 52 #include "chrome/browser/printing/print_dialog_cloud.h" | 52 #include "chrome/browser/printing/print_dialog_cloud.h" |
| 53 #include "chrome/browser/profiles/chrome_version_service.h" | 53 #include "chrome/browser/profiles/chrome_version_service.h" |
| 54 #include "chrome/browser/profiles/profile.h" | 54 #include "chrome/browser/profiles/profile.h" |
| 55 #include "chrome/browser/profiles/profile_impl.h" | 55 #include "chrome/browser/profiles/profile_impl.h" |
| 56 #include "chrome/browser/profiles/profile_info_cache.h" | 56 #include "chrome/browser/profiles/profile_info_cache.h" |
| 57 #include "chrome/browser/profiles/profiles_state.h" | 57 #include "chrome/browser/profiles/profiles_state.h" |
| 58 #include "chrome/browser/push_messaging/push_messaging_service_impl.h" |
| 58 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" | 59 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" |
| 59 #include "chrome/browser/search/search.h" | 60 #include "chrome/browser/search/search.h" |
| 60 #include "chrome/browser/services/gcm/gcm_profile_service.h" | |
| 61 #include "chrome/browser/signin/signin_manager_factory.h" | 61 #include "chrome/browser/signin/signin_manager_factory.h" |
| 62 #include "chrome/browser/task_manager/task_manager.h" | 62 #include "chrome/browser/task_manager/task_manager.h" |
| 63 #include "chrome/browser/ui/app_list/app_list_prefs.h" | 63 #include "chrome/browser/ui/app_list/app_list_prefs.h" |
| 64 #include "chrome/browser/ui/app_list/app_list_service.h" | 64 #include "chrome/browser/ui/app_list/app_list_service.h" |
| 65 #include "chrome/browser/ui/browser_ui_prefs.h" | 65 #include "chrome/browser/ui/browser_ui_prefs.h" |
| 66 #include "chrome/browser/ui/navigation_correction_tab_observer.h" | 66 #include "chrome/browser/ui/navigation_correction_tab_observer.h" |
| 67 #include "chrome/browser/ui/network_profile_bubble.h" | 67 #include "chrome/browser/ui/network_profile_bubble.h" |
| 68 #include "chrome/browser/ui/passwords/password_bubble_experiment.h" | 68 #include "chrome/browser/ui/passwords/password_bubble_experiment.h" |
| 69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 70 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" | 70 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 ChromeContentBrowserClient::RegisterProfilePrefs(registry); | 374 ChromeContentBrowserClient::RegisterProfilePrefs(registry); |
| 375 ChromeVersionService::RegisterProfilePrefs(registry); | 375 ChromeVersionService::RegisterProfilePrefs(registry); |
| 376 chrome_browser_net::HttpServerPropertiesManagerFactory::RegisterProfilePrefs( | 376 chrome_browser_net::HttpServerPropertiesManagerFactory::RegisterProfilePrefs( |
| 377 registry); | 377 registry); |
| 378 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); | 378 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); |
| 379 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); | 379 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); |
| 380 chrome_prefs::RegisterProfilePrefs(registry); | 380 chrome_prefs::RegisterProfilePrefs(registry); |
| 381 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); | 381 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
| 382 DownloadPrefs::RegisterProfilePrefs(registry); | 382 DownloadPrefs::RegisterProfilePrefs(registry); |
| 383 enhanced_bookmarks::BookmarkServerClusterService::RegisterPrefs(registry); | 383 enhanced_bookmarks::BookmarkServerClusterService::RegisterPrefs(registry); |
| 384 gcm::GCMProfileService::RegisterProfilePrefs(registry); | 384 PushMessagingServiceImpl::RegisterProfilePrefs(registry); |
| 385 HostContentSettingsMap::RegisterProfilePrefs(registry); | 385 HostContentSettingsMap::RegisterProfilePrefs(registry); |
| 386 IncognitoModePrefs::RegisterProfilePrefs(registry); | 386 IncognitoModePrefs::RegisterProfilePrefs(registry); |
| 387 InstantUI::RegisterProfilePrefs(registry); | 387 InstantUI::RegisterProfilePrefs(registry); |
| 388 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 388 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
| 389 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 389 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 390 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 390 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 391 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 391 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 392 NetPrefObserver::RegisterProfilePrefs(registry); | 392 NetPrefObserver::RegisterProfilePrefs(registry); |
| 393 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 393 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 394 password_bubble_experiment::RegisterPrefs(registry); | 394 password_bubble_experiment::RegisterPrefs(registry); |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); | 621 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
| 622 | 622 |
| 623 // We're done migrating the profile per-host zoom level values, so we clear | 623 // We're done migrating the profile per-host zoom level values, so we clear |
| 624 // them all. | 624 // them all. |
| 625 DictionaryPrefUpdate host_zoom_dictionary_update( | 625 DictionaryPrefUpdate host_zoom_dictionary_update( |
| 626 prefs, prefs::kPerHostZoomLevelsDeprecated); | 626 prefs, prefs::kPerHostZoomLevelsDeprecated); |
| 627 host_zoom_dictionary_update->Clear(); | 627 host_zoom_dictionary_update->Clear(); |
| 628 } | 628 } |
| 629 | 629 |
| 630 } // namespace chrome | 630 } // namespace chrome |
| OLD | NEW |