| 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 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/geolocation/geolocation_prefs.h" | 26 #include "chrome/browser/geolocation/geolocation_prefs.h" |
| 27 #include "chrome/browser/gpu/gl_string_manager.h" | 27 #include "chrome/browser/gpu/gl_string_manager.h" |
| 28 #include "chrome/browser/gpu/gpu_mode_manager.h" | 28 #include "chrome/browser/gpu/gpu_mode_manager.h" |
| 29 #include "chrome/browser/intranet_redirect_detector.h" | 29 #include "chrome/browser/intranet_redirect_detector.h" |
| 30 #include "chrome/browser/io_thread.h" | 30 #include "chrome/browser/io_thread.h" |
| 31 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 31 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
| 32 #include "chrome/browser/media/media_device_id_salt.h" | 32 #include "chrome/browser/media/media_device_id_salt.h" |
| 33 #include "chrome/browser/media/media_stream_devices_controller.h" | 33 #include "chrome/browser/media/media_stream_devices_controller.h" |
| 34 #include "chrome/browser/metrics/chrome_metrics_service_client.h" | 34 #include "chrome/browser/metrics/chrome_metrics_service_client.h" |
| 35 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 35 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
| 36 #include "chrome/browser/net/net_pref_observer.h" | |
| 37 #include "chrome/browser/net/prediction_options.h" | 36 #include "chrome/browser/net/prediction_options.h" |
| 38 #include "chrome/browser/net/predictor.h" | 37 #include "chrome/browser/net/predictor.h" |
| 39 #include "chrome/browser/notifications/extension_welcome_notification.h" | 38 #include "chrome/browser/notifications/extension_welcome_notification.h" |
| 40 #include "chrome/browser/notifications/notifier_state_tracker.h" | 39 #include "chrome/browser/notifications/notifier_state_tracker.h" |
| 41 #include "chrome/browser/pepper_flash_settings_manager.h" | 40 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 42 #include "chrome/browser/plugins/plugin_finder.h" | 41 #include "chrome/browser/plugins/plugin_finder.h" |
| 43 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 42 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 44 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 43 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 45 #include "chrome/browser/prefs/origin_trial_prefs.h" | 44 #include "chrome/browser/prefs/origin_trial_prefs.h" |
| 46 #include "chrome/browser/prefs/session_startup_pref.h" | 45 #include "chrome/browser/prefs/session_startup_pref.h" |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 chrome_prefs::RegisterProfilePrefs(registry); | 451 chrome_prefs::RegisterProfilePrefs(registry); |
| 453 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); | 452 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
| 454 DownloadPrefs::RegisterProfilePrefs(registry); | 453 DownloadPrefs::RegisterProfilePrefs(registry); |
| 455 HostContentSettingsMap::RegisterProfilePrefs(registry); | 454 HostContentSettingsMap::RegisterProfilePrefs(registry); |
| 456 IncognitoModePrefs::RegisterProfilePrefs(registry); | 455 IncognitoModePrefs::RegisterProfilePrefs(registry); |
| 457 InstantUI::RegisterProfilePrefs(registry); | 456 InstantUI::RegisterProfilePrefs(registry); |
| 458 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 457 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
| 459 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 458 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 460 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 459 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 461 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 460 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 462 NetPrefObserver::RegisterProfilePrefs(registry); | |
| 463 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); | 461 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
| 464 password_bubble_experiment::RegisterPrefs(registry); | 462 password_bubble_experiment::RegisterPrefs(registry); |
| 465 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 463 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 466 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 464 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
| 467 PrefsTabHelper::RegisterProfilePrefs(registry); | 465 PrefsTabHelper::RegisterProfilePrefs(registry); |
| 468 Profile::RegisterProfilePrefs(registry); | 466 Profile::RegisterProfilePrefs(registry); |
| 469 ProfileImpl::RegisterProfilePrefs(registry); | 467 ProfileImpl::RegisterProfilePrefs(registry); |
| 470 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 468 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
| 471 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 469 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
| 472 RegisterBrowserUserPrefs(registry); | 470 RegisterBrowserUserPrefs(registry); |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 profile_prefs->ClearPref(kCheckDefaultBrowser); | 724 profile_prefs->ClearPref(kCheckDefaultBrowser); |
| 727 | 725 |
| 728 // Added 5/2016. | 726 // Added 5/2016. |
| 729 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 727 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
| 730 | 728 |
| 731 // Added 7/2016. | 729 // Added 7/2016. |
| 732 DeleteWebRTCIdentityStoreDB(profile); | 730 DeleteWebRTCIdentityStoreDB(profile); |
| 733 } | 731 } |
| 734 | 732 |
| 735 } // namespace chrome | 733 } // namespace chrome |
| OLD | NEW |