Index: chrome/browser/content_settings/host_content_settings_map_factory.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map_factory.cc b/chrome/browser/content_settings/host_content_settings_map_factory.cc |
index 1d0547c23e64dba326b52ae59f19117eccfd3441..c1a9a79d48e4064f181e7515d37a71b5934cba60 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_factory.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_factory.cc |
@@ -6,9 +6,11 @@ |
#include <utility> |
+#include "base/feature_list.h" |
#include "chrome/browser/prefs/pref_service_syncable_util.h" |
#include "chrome/browser/profiles/off_the_record_profile_impl.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/common/chrome_features.h" |
#include "components/content_settings/core/browser/host_content_settings_map.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/sync_preferences/pref_service_syncable.h" |
@@ -74,10 +76,13 @@ scoped_refptr<RefcountedKeyedService> |
GetForProfile(profile->GetOriginalProfile()); |
} |
+ bool store_last_modified = base::FeatureList::IsEnabled(features::kTabsInCbd); |
+ |
scoped_refptr<HostContentSettingsMap> settings_map(new HostContentSettingsMap( |
profile->GetPrefs(), |
profile->GetProfileType() == Profile::INCOGNITO_PROFILE, |
- profile->GetProfileType() == Profile::GUEST_PROFILE)); |
+ profile->GetProfileType() == Profile::GUEST_PROFILE, |
+ store_last_modified)); |
sync_preferences::PrefServiceSyncable* pref_service = |
PrefServiceSyncableFromProfile(profile); |