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

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

Issue 2714603002: Make PermissionManager use ContentSettingsType internally more (Closed)
Patch Set: address comments Created 3 years, 10 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
« no previous file with comments | « chrome/browser/permissions/permission_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/content_settings/core/common/content_settings_types.h
diff --git a/components/content_settings/core/common/content_settings_types.h b/components/content_settings/core/common/content_settings_types.h
index 236cee90a47f2e202bdc561a32bd9bbfff3d23dc..6f6214e189aad10530f5d0c8e364094b6f8673de 100644
--- a/components/content_settings/core/common/content_settings_types.h
+++ b/components/content_settings/core/common/content_settings_types.h
@@ -50,6 +50,10 @@ enum ContentSettingsType {
CONTENT_SETTINGS_TYPE_PERMISSION_AUTOBLOCKER_DATA,
CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER,
+ // This is special-cased in the permissions layer to always allow, and as
+ // such doesn't have associated prefs data.
+ CONTENT_SETTINGS_TYPE_MIDI,
+
// This is only here temporarily and will be removed when we further unify
// it with notifications, see crbug.com/563297. No prefs data is stored for
// this content type, we instead share values with NOTIFICATIONS.
« no previous file with comments | « chrome/browser/permissions/permission_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698