| Index: chrome/browser/prefs/browser_prefs.cc
|
| diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
|
| index c62343a7f64273890169048d4d1eda0d9a8dfe7f..895d03bb5b9b89a416219f76324289b0b6d7d055 100644
|
| --- a/chrome/browser/prefs/browser_prefs.cc
|
| +++ b/chrome/browser/prefs/browser_prefs.cc
|
| @@ -33,7 +33,6 @@
|
| #include "chrome/browser/media/media_stream_devices_controller.h"
|
| #include "chrome/browser/metrics/chrome_metrics_service_client.h"
|
| #include "chrome/browser/net/http_server_properties_manager_factory.h"
|
| -#include "chrome/browser/net/net_pref_observer.h"
|
| #include "chrome/browser/net/prediction_options.h"
|
| #include "chrome/browser/net/predictor.h"
|
| #include "chrome/browser/notifications/extension_welcome_notification.h"
|
| @@ -297,6 +296,10 @@ const char kCheckDefaultBrowser[] = "browser.check_default_browser";
|
| const char kDesktopSearchRedirectionInfobarShownPref[] =
|
| "desktop_search_redirection_infobar_shown";
|
|
|
| +// Deprecated 7/2016.
|
| +const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
|
| +const char kDisableSpdy[] = "spdy.disabled";
|
| +
|
| void DeleteWebRTCIdentityStoreDBOnFileThread(base::FilePath profile_path) {
|
| base::DeleteFile(profile_path.Append(
|
| FILE_PATH_LITERAL("WebRTCIdentityStore")), false);
|
| @@ -459,7 +462,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
| MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
|
| MediaDeviceIDSalt::RegisterProfilePrefs(registry);
|
| MediaStreamDevicesController::RegisterProfilePrefs(registry);
|
| - NetPrefObserver::RegisterProfilePrefs(registry);
|
| ntp_snippets::NTPSnippetsService::RegisterProfilePrefs(registry);
|
| password_bubble_experiment::RegisterPrefs(registry);
|
| password_manager::PasswordManager::RegisterProfilePrefs(registry);
|
| @@ -632,6 +634,9 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
|
|
| registry->RegisterBooleanPref(kDesktopSearchRedirectionInfobarShownPref,
|
| false);
|
| +
|
| + registry->RegisterBooleanPref(kNetworkPredictionEnabled, true);
|
| + registry->RegisterBooleanPref(kDisableSpdy, false);
|
| }
|
|
|
| void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
| @@ -730,6 +735,8 @@ void MigrateObsoleteProfilePrefs(Profile* profile) {
|
|
|
| // Added 7/2016.
|
| DeleteWebRTCIdentityStoreDB(profile);
|
| + profile_prefs->ClearPref(kNetworkPredictionEnabled);
|
| + profile_prefs->ClearPref(kDisableSpdy);
|
| }
|
|
|
| } // namespace chrome
|
|
|