From bdfec9875d5184c336270033afb871fa662ed473 Mon Sep 17 00:00:00 2001 From: Yifan Luo Date: Tue, 21 Sep 2021 10:34:27 +0000 Subject: [PATCH] [COEPForSharedWorker] Add metrics for COEPForSharedWorker. COEP is now available on shared workers and we would like to collect the usage of it via `kCOEPForSharedWorker` in metrics. Change-Id: I30716e14ad26261fc2de12137dd4e18977eb0fad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3151259 Reviewed-by: Arthur Sonzogni Commit-Queue: Yifan Luo Cr-Commit-Position: refs/heads/main@{#923327} NOKEYCHECK=True GitOrigin-RevId: d1396702b01e96e5e9bbb493d52b3c7c3cd0916f --- blink/public/mojom/web_feature/web_feature.mojom | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blink/public/mojom/web_feature/web_feature.mojom b/blink/public/mojom/web_feature/web_feature.mojom index 7df9a8da22c9..49b8188c663d 100644 --- a/blink/public/mojom/web_feature/web_feature.mojom +++ b/blink/public/mojom/web_feature/web_feature.mojom @@ -3349,6 +3349,9 @@ enum WebFeature { kWebShareContainingTitle = 4039, kWebShareContainingText = 4040, kWebShareContainingUrl = 4041, + kCoepNoneSharedWorker = 4042, + kCoepRequireCorpSharedWorker = 4043, + kCoepCredentiallessSharedWorker = 4044, // Add new features immediately above this line. Don't change assigned // numbers of any item, and don't reuse removed slots.