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 c1a9a79d48e4064f181e7515d37a71b5934cba60..df9fc220daaa6aaed0131fb4cd3f24233766e370 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_factory.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_factory.cc |
@@ -7,6 +7,7 @@ |
#include <utility> |
#include "base/feature_list.h" |
+#include "chrome/browser/notifications/android_settings_provider.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" |
@@ -112,6 +113,13 @@ scoped_refptr<RefcountedKeyedService> |
} |
#endif // BUILDFLAG(ENABLE_SUPERVISED_USERS) |
+#if defined(OS_ANDROID) |
+ auto android_system_provider = |
+ base::MakeUnique<content_settings::AndroidSettingsProvider>(); |
+ settings_map->RegisterProvider( |
+ HostContentSettingsMap::ANDROID_SETTINGS_PROVIDER, |
+ std::move(android_system_provider)); |
+#endif |
return settings_map; |
} |