Commit a762df1f authored by Aaron Tagliaboschi's avatar Aaron Tagliaboschi Committed by Commit Bot

Add use counters for new samesite rules

Bug: 966576
Change-Id: Ic8fcaeba818ed012175ea12cb3d52a018fc40785
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636341
Commit-Queue: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: default avatarBryan McQuade <bmcquade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664771}
parent 37c1c50f
...@@ -98,6 +98,8 @@ UseCounterPageLoadMetricsObserver::GetAllowedUkmFeatures() { ...@@ -98,6 +98,8 @@ UseCounterPageLoadMetricsObserver::GetAllowedUkmFeatures() {
WebFeature::kMediaCapabilitiesDecodingInfoWithKeySystemConfig, WebFeature::kMediaCapabilitiesDecodingInfoWithKeySystemConfig,
WebFeature::kTextFragmentAnchor, WebFeature::kTextFragmentAnchor,
WebFeature::kTextFragmentAnchorMatchFound, WebFeature::kTextFragmentAnchorMatchFound,
WebFeature::kCookieNoSameSite,
WebFeature::kCookieInsecureAndSameSiteNone,
})); }));
return *opt_in_features; return *opt_in_features;
} }
...@@ -2305,6 +2305,8 @@ enum WebFeature { ...@@ -2305,6 +2305,8 @@ enum WebFeature {
kFetchKeepalive = 2913, kFetchKeepalive = 2913,
kCSSTransitionCancelledByRemovingStyle = 2914, kCSSTransitionCancelledByRemovingStyle = 2914,
kV8RTCRtpSender_SetStreams_Method = 2915, kV8RTCRtpSender_SetStreams_Method = 2915,
kCookieNoSameSite = 2916,
kCookieInsecureAndSameSiteNone = 2917,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
......
...@@ -23446,6 +23446,8 @@ Called by update_net_error_codes.py.--> ...@@ -23446,6 +23446,8 @@ Called by update_net_error_codes.py.-->
<int value="2913" label="FetchKeepalive"/> <int value="2913" label="FetchKeepalive"/>
<int value="2914" label="CSSTransitionCancelledByRemovingStyle"/> <int value="2914" label="CSSTransitionCancelledByRemovingStyle"/>
<int value="2915" label="V8RTCRtpSender_SetStreams_Method"/> <int value="2915" label="V8RTCRtpSender_SetStreams_Method"/>
<int value="2916" label="CookieNoSameSite"/>
<int value="2917" label="CookieInsecureAndSameSiteNone"/>
</enum> </enum>
<enum name="FeaturePolicyFeature"> <enum name="FeaturePolicyFeature">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment