| 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" |
| 11 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "chrome/browser/about_flags.h" | 13 #include "chrome/browser/about_flags.h" |
| 14 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 14 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 15 #include "chrome/browser/browser_process_impl.h" | 15 #include "chrome/browser/browser_process_impl.h" |
| 16 #include "chrome/browser/browser_shutdown.h" | 16 #include "chrome/browser/browser_shutdown.h" |
| 17 #include "chrome/browser/budget_service/budget_manager.h" | 17 #include "chrome/browser/budget_service/budget_manager.h" |
| 18 #include "chrome/browser/chrome_content_browser_client.h" | 18 #include "chrome/browser/chrome_content_browser_client.h" |
| 19 #include "chrome/browser/component_updater/component_updater_prefs.h" | 19 #include "chrome/browser/component_updater/component_updater_prefs.h" |
| 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 21 #include "chrome/browser/devtools/devtools_window.h" | 21 #include "chrome/browser/devtools/devtools_window.h" |
| 22 #include "chrome/browser/download/download_prefs.h" | 22 #include "chrome/browser/download/download_prefs.h" |
| 23 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 23 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 24 #include "chrome/browser/first_run/first_run.h" | 24 #include "chrome/browser/first_run/first_run.h" |
| 25 #include "chrome/browser/geolocation/geolocation_prefs.h" | 25 #include "chrome/browser/geolocation/geolocation_prefs.h" |
| 26 #include "chrome/browser/gpu/gpu_mode_manager.h" | 26 #include "chrome/browser/gpu/gpu_mode_manager.h" |
| 27 #include "chrome/browser/gpu/gpu_profile_cache.h" | 27 #include "chrome/browser/gpu/gpu_profile_cache.h" |
| 28 #include "chrome/browser/intranet_redirect_detector.h" | 28 #include "chrome/browser/intranet_redirect_detector.h" |
| 29 #include "chrome/browser/io_thread.h" | 29 #include "chrome/browser/io_thread.h" |
| 30 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | |
| 31 #include "chrome/browser/media/media_device_id_salt.h" | 30 #include "chrome/browser/media/media_device_id_salt.h" |
| 32 #include "chrome/browser/media/media_stream_devices_controller.h" | 31 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h" |
| 32 #include "chrome/browser/media/webrtc/media_stream_devices_controller.h" |
| 33 #include "chrome/browser/metrics/chrome_metrics_service_client.h" | 33 #include "chrome/browser/metrics/chrome_metrics_service_client.h" |
| 34 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 34 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
| 35 #include "chrome/browser/net/prediction_options.h" | 35 #include "chrome/browser/net/prediction_options.h" |
| 36 #include "chrome/browser/net/predictor.h" | 36 #include "chrome/browser/net/predictor.h" |
| 37 #include "chrome/browser/notifications/extension_welcome_notification.h" | 37 #include "chrome/browser/notifications/extension_welcome_notification.h" |
| 38 #include "chrome/browser/notifications/notifier_state_tracker.h" | 38 #include "chrome/browser/notifications/notifier_state_tracker.h" |
| 39 #include "chrome/browser/pepper_flash_settings_manager.h" | 39 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 40 #include "chrome/browser/plugins/plugin_finder.h" | 40 #include "chrome/browser/plugins/plugin_finder.h" |
| 41 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 41 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 42 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 42 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 DeleteWebRTCIdentityStoreDB(profile); | 744 DeleteWebRTCIdentityStoreDB(profile); |
| 745 profile_prefs->ClearPref(kNetworkPredictionEnabled); | 745 profile_prefs->ClearPref(kNetworkPredictionEnabled); |
| 746 profile_prefs->ClearPref(kDisableSpdy); | 746 profile_prefs->ClearPref(kDisableSpdy); |
| 747 | 747 |
| 748 // Added 8/2016. | 748 // Added 8/2016. |
| 749 profile_prefs->ClearPref(prefs::kStaticEncodings); | 749 profile_prefs->ClearPref(prefs::kStaticEncodings); |
| 750 profile_prefs->ClearPref(prefs::kRecentlySelectedEncoding); | 750 profile_prefs->ClearPref(prefs::kRecentlySelectedEncoding); |
| 751 } | 751 } |
| 752 | 752 |
| 753 } // namespace chrome | 753 } // namespace chrome |
| OLD | NEW |