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

Unified Diff: components/content_settings/core/common/content_settings.h

Issue 1005303003: Split the aggregate dictionary of content settings exceptions into per-type dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Memory leak in last test. Created 5 years, 9 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/common/content_settings.h
diff --git a/components/content_settings/core/common/content_settings.h b/components/content_settings/core/common/content_settings.h
index 7f49a8c11d9fc217abb0211939f4b915d1923947..7745ac1836293723e15c6882136e236d69e6192a 100644
--- a/components/content_settings/core/common/content_settings.h
+++ b/components/content_settings/core/common/content_settings.h
@@ -34,6 +34,9 @@ ContentSetting IntToContentSetting(int content_setting);
ContentSettingsTypeHistogram ContentSettingTypeToHistogramValue(
ContentSettingsType content_setting);
+// Whether this content setting should be synced.
+bool IsContentSettingsTypeSyncable(ContentSettingsType content_setting);
+
struct ContentSettingPatternSource {
ContentSettingPatternSource(const ContentSettingsPattern& primary_pattern,
const ContentSettingsPattern& secondary_patttern,

Powered by Google App Engine
This is Rietveld 408576698