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

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: Use 1 single permissionName SENSORS, add ContentSettings 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..44814662d77fac5d05df63f2e152b76ed57effa0 100644
--- a/components/content_settings/core/common/content_settings_types.h
+++ b/components/content_settings/core/common/content_settings_types.h
@@ -75,6 +75,10 @@ enum ContentSettingsType {
// sound. This will not block playback but instead the user will not hear it.
CONTENT_SETTINGS_TYPE_SOUND,
+ // Generic Sensor API covering ambient-light-sensor, accelerometer, gyroscope
+ // and magnetometer are all mapped to a single content_settings_type.
raymes 2017/07/24 01:54:41 nit: // Setting for the Generic Sensor API coveri
riju_ 2017/07/24 07:19:34 Done.
+ CONTENT_SETTINGS_TYPE_SENSORS,
+
CONTENT_SETTINGS_NUM_TYPES,
};

Powered by Google App Engine
This is Rietveld 408576698