Skip to content

Commit

Permalink
Adds Permissions-Policy-Report-Only definition.
Browse files Browse the repository at this point in the history
RELNOTES=Adds Permissions-Policy-Report-Only definition.
PiperOrigin-RevId: 615825779
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Mar 14, 2024
1 parent fcc46da commit 41d0d9a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions android/guava/src/com/google/common/net/HttpHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,15 @@ private ReferrerPolicyValues() {}
*/
public static final String PERMISSIONS_POLICY = "Permissions-Policy";

/**
* The HTTP <a
* href="https://w3c.github.io/webappsec-permissions-policy/#permissions-policy-report-only-http-header-field">{@code
* Permissions-Policy-Report-Only}</a> header field name.
*
* @since NEXT
*/
public static final String PERMISSIONS_POLICY_REPORT_ONLY = "Permissions-Policy-Report-Only";

/**
* The HTTP <a
* href="https://wicg.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme">{@code
Expand Down
9 changes: 9 additions & 0 deletions guava/src/com/google/common/net/HttpHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,15 @@ private ReferrerPolicyValues() {}
*/
public static final String PERMISSIONS_POLICY = "Permissions-Policy";

/**
* The HTTP <a
* href="https://w3c.github.io/webappsec-permissions-policy/#permissions-policy-report-only-http-header-field">{@code
* Permissions-Policy-Report-Only}</a> header field name.
*
* @since NEXT
*/
public static final String PERMISSIONS_POLICY_REPORT_ONLY = "Permissions-Policy-Report-Only";

/**
* The HTTP <a
* href="https://wicg.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme">{@code
Expand Down

0 comments on commit 41d0d9a

Please sign in to comment.