| 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 22 matching lines...) Expand all Loading... |
| 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/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" |
| 43 #include "chrome/browser/prefs/origin_trial_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" |
| 49 #include "chrome/browser/push_messaging/background_budget_service.h" | 50 #include "chrome/browser/push_messaging/background_budget_service.h" |
| 50 #include "chrome/browser/push_messaging/push_messaging_app_identifier.h" | 51 #include "chrome/browser/push_messaging/push_messaging_app_identifier.h" |
| 51 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" | 52 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" |
| 52 #include "chrome/browser/search/search.h" | 53 #include "chrome/browser/search/search.h" |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 component_updater::RegisterPrefsForRecoveryComponent(registry); | 305 component_updater::RegisterPrefsForRecoveryComponent(registry); |
| 305 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry); | 306 component_updater::SupervisedUserWhitelistInstaller::RegisterPrefs(registry); |
| 306 ExternalProtocolHandler::RegisterPrefs(registry); | 307 ExternalProtocolHandler::RegisterPrefs(registry); |
| 307 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry); | 308 flags_ui::PrefServiceFlagsStorage::RegisterPrefs(registry); |
| 308 geolocation::RegisterPrefs(registry); | 309 geolocation::RegisterPrefs(registry); |
| 309 GLStringManager::RegisterPrefs(registry); | 310 GLStringManager::RegisterPrefs(registry); |
| 310 GpuModeManager::RegisterPrefs(registry); | 311 GpuModeManager::RegisterPrefs(registry); |
| 311 IntranetRedirectDetector::RegisterPrefs(registry); | 312 IntranetRedirectDetector::RegisterPrefs(registry); |
| 312 IOThread::RegisterPrefs(registry); | 313 IOThread::RegisterPrefs(registry); |
| 313 network_time::NetworkTimeTracker::RegisterPrefs(registry); | 314 network_time::NetworkTimeTracker::RegisterPrefs(registry); |
| 315 OriginTrialPrefs::RegisterPrefs(registry); |
| 314 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 316 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
| 315 ProfileInfoCache::RegisterPrefs(registry); | 317 ProfileInfoCache::RegisterPrefs(registry); |
| 316 profiles::RegisterPrefs(registry); | 318 profiles::RegisterPrefs(registry); |
| 317 rappor::RapporService::RegisterPrefs(registry); | 319 rappor::RapporService::RegisterPrefs(registry); |
| 318 RegisterScreenshotPrefs(registry); | 320 RegisterScreenshotPrefs(registry); |
| 319 SigninManagerFactory::RegisterPrefs(registry); | 321 SigninManagerFactory::RegisterPrefs(registry); |
| 320 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); | 322 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); |
| 321 startup_metric_utils::RegisterPrefs(registry); | 323 startup_metric_utils::RegisterPrefs(registry); |
| 322 update_client::RegisterPrefs(registry); | 324 update_client::RegisterPrefs(registry); |
| 323 web_resource::PromoResourceService::RegisterPrefs(registry); | 325 web_resource::PromoResourceService::RegisterPrefs(registry); |
| (...skipping 369 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 |