Chromium Code Reviews| Index: chrome/browser/profiles/off_the_record_profile_io_data.cc |
| =================================================================== |
| --- chrome/browser/profiles/off_the_record_profile_io_data.cc (revision 92179) |
| +++ chrome/browser/profiles/off_the_record_profile_io_data.cc (working copy) |
| @@ -13,6 +13,7 @@ |
| #include "chrome/browser/net/chrome_network_delegate.h" |
| #include "chrome/browser/net/chrome_url_request_context.h" |
| #include "chrome/common/extensions/extension.h" |
| +#include "chrome/common/pref_names.h" |
| #include "chrome/common/url_constants.h" |
| #include "content/browser/browser_thread.h" |
| #include "content/browser/resource_context.h" |
| @@ -108,6 +109,9 @@ |
| io_data_->InitializeProfileParams(profile_); |
| ChromeNetworkDelegate::InitializeReferrersEnabled( |
| io_data_->enable_referrers(), profile_->GetPrefs()); |
| + io_data_->safe_browsing_enabled()->Init(prefs::kSafeBrowsingEnabled, |
|
mattm
2011/07/12 21:41:58
think these all need #if defined(ENABLE_SAFE_BROWS
Miranda Callahan
2011/07/13 18:13:51
Done.
|
| + profile_->GetPrefs(), NULL); |
| + io_data_->safe_browsing_enabled()->MoveToThread(BrowserThread::IO); |
| initialized_ = true; |
| } |
| } |