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

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

Issue 2791623004: [sensors][permission] Add new permission types in permission module. (Closed)
Patch Set: Rebase + add blank line in ONWERS file. Created 3 years, 5 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_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 ed3470fa9925312a63b4c4890ac521be204ed84e..6e0c1e67564c76ff4a170f0a1b6bb44a22e608ac 100644
--- a/components/content_settings/core/common/content_settings_types.h
+++ b/components/content_settings/core/common/content_settings_types.h
@@ -85,6 +85,13 @@ enum ContentSettingsType {
// the HTTP request headers for every resource requested from that origin.
CONTENT_SETTINGS_TYPE_CLIENT_HINTS,
+ // Generic Sensor API covering ambient-light-sensor, accelerometer, gyroscope
+ // and magnetometer are all mapped to a single content_settings_type.
+ // Setting for the Generic Sensor API covering ambient-light-sensor,
+ // accelerometer, gyroscope and magnetometer. These are all mapped to a single
+ // ContentSettingsType.
+ CONTENT_SETTINGS_TYPE_SENSORS,
+
CONTENT_SETTINGS_NUM_TYPES,
};
« no previous file with comments | « components/content_settings/core/common/content_settings.cc ('k') | content/browser/permissions/permission_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698