| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/about_flags.h" | 7 #include "chrome/browser/about_flags.h" |
| 8 #include "chrome/browser/autofill/autofill_manager.h" | 8 #include "chrome/browser/autofill/autofill_manager.h" |
| 9 #include "chrome/browser/background/background_mode_manager.h" | 9 #include "chrome/browser/background/background_mode_manager.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 22 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
| 23 #include "chrome/browser/geolocation/geolocation_prefs.h" | 23 #include "chrome/browser/geolocation/geolocation_prefs.h" |
| 24 #include "chrome/browser/google/google_url_tracker.h" | 24 #include "chrome/browser/google/google_url_tracker.h" |
| 25 #include "chrome/browser/google/google_url_tracker_factory.h" | 25 #include "chrome/browser/google/google_url_tracker_factory.h" |
| 26 #include "chrome/browser/instant/instant_controller.h" | 26 #include "chrome/browser/instant/instant_controller.h" |
| 27 #include "chrome/browser/intents/web_intents_util.h" | 27 #include "chrome/browser/intents/web_intents_util.h" |
| 28 #include "chrome/browser/intranet_redirect_detector.h" | 28 #include "chrome/browser/intranet_redirect_detector.h" |
| 29 #include "chrome/browser/managed_mode.h" | 29 #include "chrome/browser/managed_mode.h" |
| 30 #include "chrome/browser/metrics/metrics_log.h" | 30 #include "chrome/browser/metrics/metrics_log.h" |
| 31 #include "chrome/browser/metrics/metrics_service.h" | 31 #include "chrome/browser/metrics/metrics_service.h" |
| 32 #include "chrome/browser/metrics/variations_service.h" |
| 32 #include "chrome/browser/net/http_server_properties_manager.h" | 33 #include "chrome/browser/net/http_server_properties_manager.h" |
| 33 #include "chrome/browser/net/net_pref_observer.h" | 34 #include "chrome/browser/net/net_pref_observer.h" |
| 34 #include "chrome/browser/net/predictor.h" | 35 #include "chrome/browser/net/predictor.h" |
| 35 #include "chrome/browser/net/ssl_config_service_manager.h" | 36 #include "chrome/browser/net/ssl_config_service_manager.h" |
| 36 #include "chrome/browser/notifications/desktop_notification_service.h" | 37 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 37 #include "chrome/browser/notifications/notification_prefs_manager.h" | 38 #include "chrome/browser/notifications/notification_prefs_manager.h" |
| 38 #include "chrome/browser/page_info_model.h" | 39 #include "chrome/browser/page_info_model.h" |
| 39 #include "chrome/browser/password_manager/password_manager.h" | 40 #include "chrome/browser/password_manager/password_manager.h" |
| 40 #include "chrome/browser/policy/cloud_policy_subsystem.h" | 41 #include "chrome/browser/policy/cloud_policy_subsystem.h" |
| 41 #include "chrome/browser/policy/url_blacklist_manager.h" | 42 #include "chrome/browser/policy/url_blacklist_manager.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 ExternalProtocolHandler::RegisterPrefs(local_state); | 115 ExternalProtocolHandler::RegisterPrefs(local_state); |
| 115 geolocation::RegisterPrefs(local_state); | 116 geolocation::RegisterPrefs(local_state); |
| 116 IntranetRedirectDetector::RegisterPrefs(local_state); | 117 IntranetRedirectDetector::RegisterPrefs(local_state); |
| 117 KeywordEditorController::RegisterPrefs(local_state); | 118 KeywordEditorController::RegisterPrefs(local_state); |
| 118 MetricsLog::RegisterPrefs(local_state); | 119 MetricsLog::RegisterPrefs(local_state); |
| 119 MetricsService::RegisterPrefs(local_state); | 120 MetricsService::RegisterPrefs(local_state); |
| 120 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state); | 121 PrefProxyConfigTrackerImpl::RegisterPrefs(local_state); |
| 121 ProfileInfoCache::RegisterPrefs(local_state); | 122 ProfileInfoCache::RegisterPrefs(local_state); |
| 122 ProfileManager::RegisterPrefs(local_state); | 123 ProfileManager::RegisterPrefs(local_state); |
| 123 SSLConfigServiceManager::RegisterPrefs(local_state); | 124 SSLConfigServiceManager::RegisterPrefs(local_state); |
| 125 VariationsService::RegisterPrefs(local_state); |
| 124 WebCacheManager::RegisterPrefs(local_state); | 126 WebCacheManager::RegisterPrefs(local_state); |
| 125 | 127 |
| 126 #if defined(ENABLE_CONFIGURATION_POLICY) | 128 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 127 policy::CloudPolicySubsystem::RegisterPrefs(local_state); | 129 policy::CloudPolicySubsystem::RegisterPrefs(local_state); |
| 128 #endif | 130 #endif |
| 129 | 131 |
| 130 #if defined(ENABLE_NOTIFICATIONS) | 132 #if defined(ENABLE_NOTIFICATIONS) |
| 131 NotificationPrefsManager::RegisterPrefs(local_state); | 133 NotificationPrefsManager::RegisterPrefs(local_state); |
| 132 #endif | 134 #endif |
| 133 | 135 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 } | 309 } |
| 308 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 310 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 309 | 311 |
| 310 current_version |= GOOGLE_URL_TRACKER_PREFS; | 312 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 311 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 313 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 312 current_version); | 314 current_version); |
| 313 } | 315 } |
| 314 } | 316 } |
| 315 | 317 |
| 316 } // namespace browser | 318 } // namespace browser |
| OLD | NEW |