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/pref_registry/pref_registry_syncable.h" | 92 #include "components/pref_registry/pref_registry_syncable.h" |
93 #include "components/prefs/pref_registry_simple.h" | 93 #include "components/prefs/pref_registry_simple.h" |
94 #include "components/prefs/pref_service.h" | 94 #include "components/prefs/pref_service.h" |
95 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 95 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
96 #include "components/rappor/rappor_service.h" | 96 #include "components/rappor/rappor_service.h" |
97 #include "components/search_engines/template_url_prepopulate_data.h" | 97 #include "components/search_engines/template_url_prepopulate_data.h" |
98 #include "components/ssl_config/ssl_config_service_manager.h" | 98 #include "components/ssl_config/ssl_config_service_manager.h" |
99 #include "components/startup_metric_utils/browser/startup_metric_utils.h" | 99 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
100 #include "components/subresource_filter/core/browser/ruleset_service.h" | 100 #include "components/subresource_filter/core/browser/ruleset_service.h" |
101 #include "components/sync/base/sync_prefs.h" | 101 #include "components/sync/base/sync_prefs.h" |
102 #include "components/syncable_prefs/pref_service_syncable.h" | 102 #include "components/sync_preferences/pref_service_syncable.h" |
103 #include "components/translate/core/browser/language_model.h" | 103 #include "components/translate/core/browser/language_model.h" |
104 #include "components/translate/core/browser/translate_prefs.h" | 104 #include "components/translate/core/browser/translate_prefs.h" |
105 #include "components/update_client/update_client.h" | 105 #include "components/update_client/update_client.h" |
106 #include "components/variations/service/variations_service.h" | 106 #include "components/variations/service/variations_service.h" |
107 #include "content/public/browser/browser_thread.h" | 107 #include "content/public/browser/browser_thread.h" |
108 #include "content/public/browser/render_process_host.h" | 108 #include "content/public/browser/render_process_host.h" |
109 #include "net/http/http_server_properties_manager.h" | 109 #include "net/http/http_server_properties_manager.h" |
110 | 110 |
111 #if BUILDFLAG(ENABLE_APP_LIST) | 111 #if BUILDFLAG(ENABLE_APP_LIST) |
112 #include "chrome/browser/apps/drive/drive_app_mapping.h" | 112 #include "chrome/browser/apps/drive/drive_app_mapping.h" |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 // Added 8/2016. | 775 // Added 8/2016. |
776 profile_prefs->ClearPref(kStaticEncodings); | 776 profile_prefs->ClearPref(kStaticEncodings); |
777 profile_prefs->ClearPref(kRecentlySelectedEncoding); | 777 profile_prefs->ClearPref(kRecentlySelectedEncoding); |
778 | 778 |
779 // Added 9/2016. | 779 // Added 9/2016. |
780 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); | 780 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); |
781 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); | 781 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); |
782 } | 782 } |
783 | 783 |
784 } // namespace chrome | 784 } // namespace chrome |
OLD | NEW |