| 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/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 29 #include "chrome/browser/media/media_capture_devices_dispatcher.h" |
| 30 #include "chrome/browser/media/media_device_id_salt.h" | 30 #include "chrome/browser/media/media_device_id_salt.h" |
| 31 #include "chrome/browser/media/media_stream_devices_controller.h" | 31 #include "chrome/browser/media/media_stream_devices_controller.h" |
| 32 #include "chrome/browser/metrics/chrome_metrics_service_client.h" | 32 #include "chrome/browser/metrics/chrome_metrics_service_client.h" |
| 33 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 33 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
| 34 #include "chrome/browser/net/net_pref_observer.h" | 34 #include "chrome/browser/net/net_pref_observer.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/notifications/platform_notification_service_impl.h" |
| 39 #include "chrome/browser/pepper_flash_settings_manager.h" | 40 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 40 #include "chrome/browser/plugins/plugin_finder.h" | 41 #include "chrome/browser/plugins/plugin_finder.h" |
| 41 #include "chrome/browser/prefs/chrome_pref_service_factory.h" | 42 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
| 42 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 43 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
| 43 #include "chrome/browser/prefs/session_startup_pref.h" | 44 #include "chrome/browser/prefs/session_startup_pref.h" |
| 44 #include "chrome/browser/profiles/chrome_version_service.h" | 45 #include "chrome/browser/profiles/chrome_version_service.h" |
| 45 #include "chrome/browser/profiles/profile.h" | 46 #include "chrome/browser/profiles/profile.h" |
| 46 #include "chrome/browser/profiles/profile_impl.h" | 47 #include "chrome/browser/profiles/profile_impl.h" |
| 47 #include "chrome/browser/profiles/profile_info_cache.h" | 48 #include "chrome/browser/profiles/profile_info_cache.h" |
| 48 #include "chrome/browser/profiles/profiles_state.h" | 49 #include "chrome/browser/profiles/profiles_state.h" |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 IncognitoModePrefs::RegisterProfilePrefs(registry); | 432 IncognitoModePrefs::RegisterProfilePrefs(registry); |
| 432 InstantUI::RegisterProfilePrefs(registry); | 433 InstantUI::RegisterProfilePrefs(registry); |
| 433 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 434 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
| 434 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 435 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
| 435 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 436 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
| 436 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 437 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
| 437 NetPrefObserver::RegisterProfilePrefs(registry); | 438 NetPrefObserver::RegisterProfilePrefs(registry); |
| 438 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); | 439 ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry); |
| 439 password_bubble_experiment::RegisterPrefs(registry); | 440 password_bubble_experiment::RegisterPrefs(registry); |
| 440 password_manager::PasswordManager::RegisterProfilePrefs(registry); | 441 password_manager::PasswordManager::RegisterProfilePrefs(registry); |
| 442 PlatformNotificationServiceImpl::RegisterProfilePrefs(registry); |
| 441 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); | 443 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); |
| 442 PrefsTabHelper::RegisterProfilePrefs(registry); | 444 PrefsTabHelper::RegisterProfilePrefs(registry); |
| 443 Profile::RegisterProfilePrefs(registry); | 445 Profile::RegisterProfilePrefs(registry); |
| 444 ProfileImpl::RegisterProfilePrefs(registry); | 446 ProfileImpl::RegisterProfilePrefs(registry); |
| 445 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); | 447 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); |
| 446 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); | 448 PushMessagingAppIdentifier::RegisterProfilePrefs(registry); |
| 447 RegisterBrowserUserPrefs(registry); | 449 RegisterBrowserUserPrefs(registry); |
| 448 SessionStartupPref::RegisterProfilePrefs(registry); | 450 SessionStartupPref::RegisterProfilePrefs(registry); |
| 449 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); | 451 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); |
| 450 translate::TranslatePrefs::RegisterProfilePrefs(registry); | 452 translate::TranslatePrefs::RegisterProfilePrefs(registry); |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, | 695 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, |
| 694 install_time.ToInternalValue()); | 696 install_time.ToInternalValue()); |
| 695 } | 697 } |
| 696 profile_prefs->ClearPref(kCheckDefaultBrowser); | 698 profile_prefs->ClearPref(kCheckDefaultBrowser); |
| 697 | 699 |
| 698 // Added 5/2016. | 700 // Added 5/2016. |
| 699 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 701 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
| 700 } | 702 } |
| 701 | 703 |
| 702 } // namespace chrome | 704 } // namespace chrome |
| OLD | NEW |