Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.cc |
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
| index f557c4d6e3642b8f5a2bf02f8c0f670a18a7ff0a..f3c2afbba065af983cb60549686c5e45d7b6070e 100644 |
| --- a/chrome/browser/profiles/profile_io_data.cc |
| +++ b/chrome/browser/profiles/profile_io_data.cc |
| @@ -432,10 +432,15 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) { |
| 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); |
| + allow_network_prediction_.Init(prefs::kAllowNetworkPrediction, |
| + pref_service); |
|
jkarlin
2014/06/26 16:28:52
formatting. Please run 'git cl format'
Bence
2014/06/26 20:02:06
Done.
|
| + allow_network_prediction_.MoveToThread(io_message_loop_proxy); |
| + |
| #if defined(OS_CHROMEOS) |
| cert_verifier_ = policy::PolicyCertServiceFactory::CreateForProfile(profile); |
| #endif |
| @@ -1167,7 +1172,9 @@ void ProfileIOData::ShutdownOnUIThread() { |
| printing_enabled_.Destroy(); |
| sync_disabled_.Destroy(); |
| signin_allowed_.Destroy(); |
| + // TODO(bnc): remove per https://crbug.com/334602. |
| network_prediction_enabled_.Destroy(); |
| + allow_network_prediction_.Destroy(); |
| quick_check_enabled_.Destroy(); |
| if (media_device_id_salt_) |
| media_device_id_salt_->ShutdownOnUIThread(); |