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/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #include "components/autofill/core/browser/autofill_manager.h" | 83 #include "components/autofill/core/browser/autofill_manager.h" |
84 #include "components/bookmarks/browser/bookmark_utils.h" | 84 #include "components/bookmarks/browser/bookmark_utils.h" |
85 #include "components/content_settings/core/browser/host_content_settings_map.h" | 85 #include "components/content_settings/core/browser/host_content_settings_map.h" |
86 #include "components/dom_distiller/core/distilled_page_prefs.h" | 86 #include "components/dom_distiller/core/distilled_page_prefs.h" |
87 #include "components/enhanced_bookmarks/bookmark_server_cluster_service.h" | 87 #include "components/enhanced_bookmarks/bookmark_server_cluster_service.h" |
88 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 88 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
89 #include "components/google/core/browser/google_pref_names.h" | 89 #include "components/google/core/browser/google_pref_names.h" |
90 #include "components/google/core/browser/google_url_tracker.h" | 90 #include "components/google/core/browser/google_url_tracker.h" |
91 #include "components/network_time/network_time_tracker.h" | 91 #include "components/network_time/network_time_tracker.h" |
92 #include "components/password_manager/core/browser/password_manager.h" | 92 #include "components/password_manager/core/browser/password_manager.h" |
| 93 #include "components/password_manager/core/browser/password_manager_url_collecti
on_experiment.h" |
93 #include "components/pref_registry/pref_registry_syncable.h" | 94 #include "components/pref_registry/pref_registry_syncable.h" |
94 #include "components/rappor/rappor_service.h" | 95 #include "components/rappor/rappor_service.h" |
95 #include "components/search_engines/template_url_prepopulate_data.h" | 96 #include "components/search_engines/template_url_prepopulate_data.h" |
96 #include "components/sync_driver/sync_prefs.h" | 97 #include "components/sync_driver/sync_prefs.h" |
97 #include "components/translate/core/browser/translate_prefs.h" | 98 #include "components/translate/core/browser/translate_prefs.h" |
98 #include "content/public/browser/render_process_host.h" | 99 #include "content/public/browser/render_process_host.h" |
99 #include "net/http/http_server_properties_manager.h" | 100 #include "net/http/http_server_properties_manager.h" |
100 | 101 |
101 #if defined(ENABLE_AUTOFILL_DIALOG) | 102 #if defined(ENABLE_AUTOFILL_DIALOG) |
102 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 103 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 gcm::GCMProfileService::RegisterProfilePrefs(registry); | 402 gcm::GCMProfileService::RegisterProfilePrefs(registry); |
402 HostContentSettingsMap::RegisterProfilePrefs(registry); | 403 HostContentSettingsMap::RegisterProfilePrefs(registry); |
403 IncognitoModePrefs::RegisterProfilePrefs(registry); | 404 IncognitoModePrefs::RegisterProfilePrefs(registry); |
404 InstantUI::RegisterProfilePrefs(registry); | 405 InstantUI::RegisterProfilePrefs(registry); |
405 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 406 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
406 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 407 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
407 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 408 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
408 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 409 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
409 NetPrefObserver::RegisterProfilePrefs(registry); | 410 NetPrefObserver::RegisterProfilePrefs(registry); |
410 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 411 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 412 password_manager::urls_collection_experiment::RegisterPrefs(registry); |
411 password_bubble_experiment::RegisterPrefs(registry); | 413 password_bubble_experiment::RegisterPrefs(registry); |
412 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 414 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
413 PrefsTabHelper::RegisterProfilePrefs(registry); | 415 PrefsTabHelper::RegisterProfilePrefs(registry); |
414 Profile::RegisterProfilePrefs(registry); | 416 Profile::RegisterProfilePrefs(registry); |
415 ProfileImpl::RegisterProfilePrefs(registry); | 417 ProfileImpl::RegisterProfilePrefs(registry); |
416 PromoResourceService::RegisterProfilePrefs(registry); | 418 PromoResourceService::RegisterProfilePrefs(registry); |
417 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 419 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
418 RegisterBrowserUserPrefs(registry); | 420 RegisterBrowserUserPrefs(registry); |
419 SessionStartupPref::RegisterProfilePrefs(registry); | 421 SessionStartupPref::RegisterProfilePrefs(registry); |
420 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); | 422 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); | 705 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); |
704 | 706 |
705 // We're done migrating the profile per-host zoom level values, so we clear | 707 // We're done migrating the profile per-host zoom level values, so we clear |
706 // them all. | 708 // them all. |
707 DictionaryPrefUpdate host_zoom_dictionary_update( | 709 DictionaryPrefUpdate host_zoom_dictionary_update( |
708 prefs, prefs::kPerHostZoomLevelsDeprecated); | 710 prefs, prefs::kPerHostZoomLevelsDeprecated); |
709 host_zoom_dictionary_update->Clear(); | 711 host_zoom_dictionary_update->Clear(); |
710 } | 712 } |
711 | 713 |
712 } // namespace chrome | 714 } // namespace chrome |
OLD | NEW |