Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: components/content_settings/core/browser/content_settings_registry.cc

Issue 1318083005: Remove HostContentSettingsMap::ContentTypeHasCompoundValue function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-num-types-enum-3
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/content_settings/core/browser/content_settings_registry.cc
diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
index e45fe4a334ffe5c5de5e205769a8c4e27fc9a7ec..cfc4f65a4f9888b73769dc935c75397a256e4354 100644
--- a/components/content_settings/core/browser/content_settings_registry.cc
+++ b/components/content_settings/core/browser/content_settings_registry.cc
@@ -92,6 +92,14 @@ const ContentSettingsInfo* ContentSettingsRegistry::Get(
return nullptr;
}
+ContentSettingsRegistry::const_iterator ContentSettingsRegistry::begin() const {
+ return const_iterator(content_settings_info_.begin());
+}
+
+ContentSettingsRegistry::const_iterator ContentSettingsRegistry::end() const {
+ return const_iterator(content_settings_info_.end());
+}
+
void ContentSettingsRegistry::Init() {
// TODO(raymes): This registration code should not have to be in a single
// location. It should be possible to register a setting from the code

Powered by Google App Engine
This is Rietveld 408576698