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/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 #include "components/prefs/pref_registry_simple.h" | 92 #include "components/prefs/pref_registry_simple.h" |
93 #include "components/prefs/pref_service.h" | 93 #include "components/prefs/pref_service.h" |
94 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 94 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
95 #include "components/rappor/rappor_service.h" | 95 #include "components/rappor/rappor_service.h" |
96 #include "components/search_engines/template_url_prepopulate_data.h" | 96 #include "components/search_engines/template_url_prepopulate_data.h" |
97 #include "components/ssl_config/ssl_config_service_manager.h" | 97 #include "components/ssl_config/ssl_config_service_manager.h" |
98 #include "components/startup_metric_utils/browser/startup_metric_utils.h" | 98 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
99 #include "components/subresource_filter/core/browser/ruleset_service.h" | 99 #include "components/subresource_filter/core/browser/ruleset_service.h" |
100 #include "components/sync/driver/sync_prefs.h" | 100 #include "components/sync/driver/sync_prefs.h" |
101 #include "components/syncable_prefs/pref_service_syncable.h" | 101 #include "components/syncable_prefs/pref_service_syncable.h" |
| 102 #include "components/translate/core/browser/language_model.h" |
102 #include "components/translate/core/browser/translate_prefs.h" | 103 #include "components/translate/core/browser/translate_prefs.h" |
103 #include "components/update_client/update_client.h" | 104 #include "components/update_client/update_client.h" |
104 #include "components/variations/service/variations_service.h" | 105 #include "components/variations/service/variations_service.h" |
105 #include "content/public/browser/browser_thread.h" | 106 #include "content/public/browser/browser_thread.h" |
106 #include "content/public/browser/render_process_host.h" | 107 #include "content/public/browser/render_process_host.h" |
107 #include "net/http/http_server_properties_manager.h" | 108 #include "net/http/http_server_properties_manager.h" |
108 | 109 |
109 #if defined(ENABLE_APP_LIST) | 110 #if defined(ENABLE_APP_LIST) |
110 #include "chrome/browser/apps/drive/drive_app_mapping.h" | 111 #include "chrome/browser/apps/drive/drive_app_mapping.h" |
111 #endif | 112 #endif |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 489 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
489 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 490 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
490 PrefsTabHelper::RegisterProfilePrefs(registry); | 491 PrefsTabHelper::RegisterProfilePrefs(registry); |
491 Profile::RegisterProfilePrefs(registry); | 492 Profile::RegisterProfilePrefs(registry); |
492 ProfileImpl::RegisterProfilePrefs(registry); | 493 ProfileImpl::RegisterProfilePrefs(registry); |
493 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 494 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
494 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 495 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
495 RegisterBrowserUserPrefs(registry); | 496 RegisterBrowserUserPrefs(registry); |
496 SessionStartupPref::RegisterProfilePrefs(registry); | 497 SessionStartupPref::RegisterProfilePrefs(registry); |
497 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); | 498 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); |
| 499 translate::LanguageModel::RegisterProfilePrefs(registry); |
498 translate::TranslatePrefs::RegisterProfilePrefs(registry); | 500 translate::TranslatePrefs::RegisterProfilePrefs(registry); |
499 ZeroSuggestProvider::RegisterProfilePrefs(registry); | 501 ZeroSuggestProvider::RegisterProfilePrefs(registry); |
500 browsing_data::prefs::RegisterBrowserUserPrefs(registry); | 502 browsing_data::prefs::RegisterBrowserUserPrefs(registry); |
501 | 503 |
502 #if defined(ENABLE_APP_LIST) | 504 #if defined(ENABLE_APP_LIST) |
503 app_list::AppListPrefs::RegisterProfilePrefs(registry); | 505 app_list::AppListPrefs::RegisterProfilePrefs(registry); |
504 #endif | 506 #endif |
505 | 507 |
506 policy::URLBlacklistManager::RegisterProfilePrefs(registry); | 508 policy::URLBlacklistManager::RegisterProfilePrefs(registry); |
507 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); | 509 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 // Added 8/2016. | 773 // Added 8/2016. |
772 profile_prefs->ClearPref(kStaticEncodings); | 774 profile_prefs->ClearPref(kStaticEncodings); |
773 profile_prefs->ClearPref(kRecentlySelectedEncoding); | 775 profile_prefs->ClearPref(kRecentlySelectedEncoding); |
774 | 776 |
775 // Added 9/2016. | 777 // Added 9/2016. |
776 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); | 778 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); |
777 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); | 779 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); |
778 } | 780 } |
779 | 781 |
780 } // namespace chrome | 782 } // namespace chrome |
OLD | NEW |