| 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 078a62117c44829c97939aa1943597ade9fddca4..74f94d81938228a36127195cb3c02179c75ab86f 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -203,6 +203,12 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
|
| proxy_config_service);
|
| params->profile = profile;
|
| profile_params_.reset(params.release());
|
| +
|
| + ChromeNetworkDelegate::InitializePrefsOnUIThread(
|
| + &enable_referrers_,
|
| + &enable_do_not_track_,
|
| + pref_service);
|
| +
|
| #if defined(ENABLE_PRINTING)
|
| printing_enabled_.Init(prefs::kPrintingEnabled, pref_service, NULL);
|
| printing_enabled_.MoveToThread(BrowserThread::IO);
|
| @@ -531,6 +537,7 @@ void ProfileIOData::LazyInitialize() const {
|
| profile_params_->profile,
|
| profile_params_->cookie_settings,
|
| &enable_referrers_,
|
| + &enable_do_not_track_,
|
| load_time_stats_));
|
|
|
| fraudulent_certificate_reporter_.reset(
|
| @@ -629,6 +636,7 @@ void ProfileIOData::SetUpJobFactoryDefaults(
|
| void ProfileIOData::ShutdownOnUIThread() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| enable_referrers_.Destroy();
|
| + enable_do_not_track_.Destroy();
|
| #if !defined(OS_CHROMEOS)
|
| enable_metrics_.Destroy();
|
| #endif
|
|
|