diff options
Diffstat (limited to 'chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h')
-rw-r--r-- | chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h b/chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h index c88a10c9cd0..25858141012 100644 --- a/chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h +++ b/chromium/third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h @@ -44,7 +44,24 @@ enum class WebSchedulerTrackedFeature { // Recorded only for the main frame. kHasScriptableFramesInMultipleTabs = 18, - kMaxValue = kHasScriptableFramesInMultipleTabs + // Whether the page tried to request a permission regardless of the outcome. + // TODO(altimin): Track this more accurately depending on the data. + // See permission.mojom for more details. + kRequestedGeolocationPermission = 19, + kRequestedNotificationsPermission = 20, + kRequestedMIDIPermission = 21, + kRequestedAudioCapturePermission = 22, + kRequestedVideoCapturePermission = 23, + kRequestedSensorsPermission = 24, + // This covers all background-related permissions, including background sync, + // background fetch and others. + kRequestedBackgroundWorkPermission = 26, + + kBroadcastChannel = 27, + + kIndexedDBConnection = 28, + + kMaxValue = kIndexedDBConnection }; } // namespace scheduler |