Index: chrome/browser/profiles/profile_io_data.cc |
=================================================================== |
--- chrome/browser/profiles/profile_io_data.cc (revision 89656) |
+++ chrome/browser/profiles/profile_io_data.cc (working copy) |
@@ -213,6 +213,7 @@ |
params->is_incognito = profile->IsOffTheRecord(); |
params->clear_local_state_on_exit = |
pref_service->GetBoolean(prefs::kClearSiteDataOnExit); |
+ params->safe_browsing_enabled = profile->SafeBrowsingEnabled(); |
params->appcache_service = profile->GetAppCacheService(); |
@@ -492,6 +493,8 @@ |
resource_context_.set_quota_manager(quota_manager_); |
resource_context_.set_host_zoom_map(host_zoom_map_); |
resource_context_.set_prerender_manager(prerender_manager_); |
+ resource_context_.set_safe_browsing_enabled( |
+ profile_params_->safe_browsing_enabled); |
resource_context_.SetUserData(NULL, const_cast<ProfileIOData*>(this)); |
LazyInitializeInternal(profile_params_.get()); |