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

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: fixing nits 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 e752e9e96e45bea2434bc6d4f3310bbce8307fa0..aa442bbdb3e5a147e587dbb88c1342d9ac2f6a2e 100644
--- a/components/content_settings/core/common/content_settings_types.h
+++ b/components/content_settings/core/common/content_settings_types.h
@@ -75,6 +75,11 @@ enum ContentSettingsType {
// sound. This will not block playback but instead the user will not hear it.
CONTENT_SETTINGS_TYPE_SOUND,
+ // 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,
};

Powered by Google App Engine
This is Rietveld 408576698