| 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 a96b421a0b5b60922df8ae6d707b64ec12aa304b..9ca044da239e841773225388fbea50a29f120de7 100644
|
| --- a/chrome/browser/content_settings/host_content_settings_map_factory.cc
|
| +++ b/chrome/browser/content_settings/host_content_settings_map_factory.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <utility>
|
|
|
| +#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 "components/content_settings/core/browser/host_content_settings_map.h"
|
| @@ -70,7 +71,8 @@ scoped_refptr<RefcountedKeyedService>
|
| scoped_refptr<HostContentSettingsMap> settings_map(new HostContentSettingsMap(
|
| profile->GetPrefs(),
|
| profile->GetProfileType() == Profile::INCOGNITO_PROFILE,
|
| - profile->GetProfileType() == Profile::GUEST_PROFILE));
|
| + profile->GetProfileType() == Profile::GUEST_PROFILE,
|
| + PrefServiceSyncableFromProfile(profile)));
|
|
|
| #if defined(ENABLE_EXTENSIONS)
|
| ExtensionService *ext_service =
|
|
|