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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 ChromeContentBrowserClient::RegisterProfilePrefs(registry); | 392 ChromeContentBrowserClient::RegisterProfilePrefs(registry); |
393 ChromeVersionService::RegisterProfilePrefs(registry); | 393 ChromeVersionService::RegisterProfilePrefs(registry); |
394 chrome_browser_net::HttpServerPropertiesManagerFactory::RegisterProfilePrefs( | 394 chrome_browser_net::HttpServerPropertiesManagerFactory::RegisterProfilePrefs( |
395 registry); | 395 registry); |
396 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); | 396 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); |
397 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); | 397 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); |
398 chrome_prefs::RegisterProfilePrefs(registry); | 398 chrome_prefs::RegisterProfilePrefs(registry); |
399 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); | 399 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
400 DownloadPrefs::RegisterProfilePrefs(registry); | 400 DownloadPrefs::RegisterProfilePrefs(registry); |
401 enhanced_bookmarks::BookmarkServerClusterService::RegisterPrefs(registry); | 401 enhanced_bookmarks::BookmarkServerClusterService::RegisterPrefs(registry); |
402 gcm::GCMProfileService::RegisterProfilePrefs(registry); | 402 PushMessagingServiceImpl::RegisterProfilePrefs(registry); |
403 HostContentSettingsMap::RegisterProfilePrefs(registry); | 403 HostContentSettingsMap::RegisterProfilePrefs(registry); |
404 IncognitoModePrefs::RegisterProfilePrefs(registry); | 404 IncognitoModePrefs::RegisterProfilePrefs(registry); |
405 InstantUI::RegisterProfilePrefs(registry); | 405 InstantUI::RegisterProfilePrefs(registry); |
406 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 406 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
407 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 407 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
408 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 408 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
409 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 409 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
410 NetPrefObserver::RegisterProfilePrefs(registry); | 410 NetPrefObserver::RegisterProfilePrefs(registry); |
411 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 411 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
412 password_manager::urls_collection_experiment::RegisterPrefs(registry); | 412 password_manager::urls_collection_experiment::RegisterPrefs(registry); |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); | 682 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
683 | 683 |
684 // We're done migrating the profile per-host zoom level values, so we clear | 684 // We're done migrating the profile per-host zoom level values, so we clear |
685 // them all. | 685 // them all. |
686 DictionaryPrefUpdate host_zoom_dictionary_update( | 686 DictionaryPrefUpdate host_zoom_dictionary_update( |
687 prefs, prefs::kPerHostZoomLevelsDeprecated); | 687 prefs, prefs::kPerHostZoomLevelsDeprecated); |
688 host_zoom_dictionary_update->Clear(); | 688 host_zoom_dictionary_update->Clear(); |
689 } | 689 } |
690 | 690 |
691 } // namespace chrome | 691 } // namespace chrome |
OLD | NEW |