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