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" | |
11 #include "base/prefs/pref_service.h" | |
12 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
13 #include "build/build_config.h" | 11 #include "build/build_config.h" |
14 #include "chrome/browser/about_flags.h" | 12 #include "chrome/browser/about_flags.h" |
15 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 13 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
16 #include "chrome/browser/browser_process_impl.h" | 14 #include "chrome/browser/browser_process_impl.h" |
17 #include "chrome/browser/browser_shutdown.h" | 15 #include "chrome/browser/browser_shutdown.h" |
18 #include "chrome/browser/chrome_content_browser_client.h" | 16 #include "chrome/browser/chrome_content_browser_client.h" |
19 #include "chrome/browser/component_updater/recovery_component_installer.h" | 17 #include "chrome/browser/component_updater/recovery_component_installer.h" |
20 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h
" | 18 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h
" |
21 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 19 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 #include "components/autofill/core/browser/autofill_manager.h" | 70 #include "components/autofill/core/browser/autofill_manager.h" |
73 #include "components/content_settings/core/browser/host_content_settings_map.h" | 71 #include "components/content_settings/core/browser/host_content_settings_map.h" |
74 #include "components/dom_distiller/core/distilled_page_prefs.h" | 72 #include "components/dom_distiller/core/distilled_page_prefs.h" |
75 #include "components/flags_ui/pref_service_flags_storage.h" | 73 #include "components/flags_ui/pref_service_flags_storage.h" |
76 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 74 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
77 #include "components/network_time/network_time_tracker.h" | 75 #include "components/network_time/network_time_tracker.h" |
78 #include "components/omnibox/browser/zero_suggest_provider.h" | 76 #include "components/omnibox/browser/zero_suggest_provider.h" |
79 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 77 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
80 #include "components/password_manager/core/browser/password_manager.h" | 78 #include "components/password_manager/core/browser/password_manager.h" |
81 #include "components/pref_registry/pref_registry_syncable.h" | 79 #include "components/pref_registry/pref_registry_syncable.h" |
| 80 #include "components/prefs/pref_registry_simple.h" |
| 81 #include "components/prefs/pref_service.h" |
82 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 82 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
83 #include "components/rappor/rappor_service.h" | 83 #include "components/rappor/rappor_service.h" |
84 #include "components/search_engines/template_url_prepopulate_data.h" | 84 #include "components/search_engines/template_url_prepopulate_data.h" |
85 #include "components/ssl_config/ssl_config_service_manager.h" | 85 #include "components/ssl_config/ssl_config_service_manager.h" |
86 #include "components/startup_metric_utils/browser/startup_metric_utils.h" | 86 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
87 #include "components/sync_driver/sync_prefs.h" | 87 #include "components/sync_driver/sync_prefs.h" |
88 #include "components/syncable_prefs/pref_service_syncable.h" | 88 #include "components/syncable_prefs/pref_service_syncable.h" |
89 #include "components/translate/core/browser/translate_prefs.h" | 89 #include "components/translate/core/browser/translate_prefs.h" |
90 #include "components/variations/service/variations_service.h" | 90 #include "components/variations/service/variations_service.h" |
91 #include "components/web_resource/promo_resource_service.h" | 91 #include "components/web_resource/promo_resource_service.h" |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 profile_prefs->ClearPref(kOverscrollVerticalThresholdComplete); | 644 profile_prefs->ClearPref(kOverscrollVerticalThresholdComplete); |
645 profile_prefs->ClearPref(kOverscrollMinimumThresholdStart); | 645 profile_prefs->ClearPref(kOverscrollMinimumThresholdStart); |
646 profile_prefs->ClearPref(kOverscrollMinimumThresholdStartTouchpad); | 646 profile_prefs->ClearPref(kOverscrollMinimumThresholdStartTouchpad); |
647 profile_prefs->ClearPref(kOverscrollVerticalThresholdStart); | 647 profile_prefs->ClearPref(kOverscrollVerticalThresholdStart); |
648 profile_prefs->ClearPref(kOverscrollHorizontalResistThreshold); | 648 profile_prefs->ClearPref(kOverscrollHorizontalResistThreshold); |
649 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); | 649 profile_prefs->ClearPref(kOverscrollVerticalResistThreshold); |
650 #endif // defined(USE_AURA) | 650 #endif // defined(USE_AURA) |
651 } | 651 } |
652 | 652 |
653 } // namespace chrome | 653 } // namespace chrome |
OLD | NEW |