Commit 83eeb435 authored by bnc's avatar bnc Committed by Commit bot

Remove network_prediction_enabled from profile_io_data.

Cleanup:  This member has been obsoleted by https://crrev.com/516443002.

BUG=334602

Review URL: https://codereview.chromium.org/520613004

Cr-Commit-Position: refs/heads/master@{#292980}
parent e1b05dc1
...@@ -465,11 +465,6 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { ...@@ -465,11 +465,6 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
media_device_id_salt_ = new MediaDeviceIDSalt(pref_service, IsOffTheRecord()); media_device_id_salt_ = new MediaDeviceIDSalt(pref_service, IsOffTheRecord());
// TODO(bnc): remove per https://crbug.com/334602.
network_prediction_enabled_.Init(prefs::kNetworkPredictionEnabled,
pref_service);
network_prediction_enabled_.MoveToThread(io_message_loop_proxy);
network_prediction_options_.Init(prefs::kNetworkPredictionOptions, network_prediction_options_.Init(prefs::kNetworkPredictionOptions,
pref_service); pref_service);
...@@ -1202,8 +1197,6 @@ void ProfileIOData::ShutdownOnUIThread( ...@@ -1202,8 +1197,6 @@ void ProfileIOData::ShutdownOnUIThread(
printing_enabled_.Destroy(); printing_enabled_.Destroy();
sync_disabled_.Destroy(); sync_disabled_.Destroy();
signin_allowed_.Destroy(); signin_allowed_.Destroy();
// TODO(bnc): remove per https://crbug.com/334602.
network_prediction_enabled_.Destroy();
network_prediction_options_.Destroy(); network_prediction_options_.Destroy();
quick_check_enabled_.Destroy(); quick_check_enabled_.Destroy();
if (media_device_id_salt_.get()) if (media_device_id_salt_.get())
......
...@@ -196,11 +196,6 @@ class ProfileIOData { ...@@ -196,11 +196,6 @@ class ProfileIOData {
return &signin_allowed_; return &signin_allowed_;
} }
// TODO(bnc): remove per https://crbug.com/334602.
BooleanPrefMember* network_prediction_enabled() const {
return &network_prediction_enabled_;
}
IntegerPrefMember* network_prediction_options() const { IntegerPrefMember* network_prediction_options() const {
return &network_prediction_options_; return &network_prediction_options_;
} }
...@@ -547,7 +542,6 @@ class ProfileIOData { ...@@ -547,7 +542,6 @@ class ProfileIOData {
mutable BooleanPrefMember printing_enabled_; mutable BooleanPrefMember printing_enabled_;
mutable BooleanPrefMember sync_disabled_; mutable BooleanPrefMember sync_disabled_;
mutable BooleanPrefMember signin_allowed_; mutable BooleanPrefMember signin_allowed_;
mutable BooleanPrefMember network_prediction_enabled_;
mutable IntegerPrefMember network_prediction_options_; mutable IntegerPrefMember network_prediction_options_;
// TODO(marja): Remove session_startup_pref_ if no longer needed. // TODO(marja): Remove session_startup_pref_ if no longer needed.
mutable IntegerPrefMember session_startup_pref_; mutable IntegerPrefMember session_startup_pref_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment