Skip to content

Commit

Permalink
Adds constants for Cross-Origin-Embedder-Policy(-Report-Only)? head…
Browse files Browse the repository at this point in the history
…ers ([W3](https://wicg.github.io/cross-origin-embedder-policy/#COEP)).

RELNOTES=Adds constants for `Cross-Origin-Embedder-Policy(-Report-Only)?` headers.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=309944590
  • Loading branch information
mikispag authored and nick-someone committed May 6, 2020
1 parent 215b1f0 commit c3bf731
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions android/guava/src/com/google/common/net/HttpHeaders.java
Expand Up @@ -266,6 +266,21 @@ private ReferrerPolicyValues() {}
* @since 20.0
*/
public static final String X_WEBKIT_CSP_REPORT_ONLY = "X-WebKit-CSP-Report-Only";
/**
* The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP">{@code
* Cross-Origin-Embedder-Policy}</a> header field name.
*
* @since NEXT
*/
public static final String CROSS_ORIGIN_EMBEDDER_POLICY = "Cross-Origin-Embedder-Policy";
/**
* The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP-RO">{@code
* Cross-Origin-Embedder-Policy-Report-Only}</a> header field name.
*
* @since NEXT
*/
public static final String CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY =
"Cross-Origin-Embedder-Policy-Report-Only";
/**
* The HTTP Cross-Origin-Opener-Policy header field name.
*
Expand Down
15 changes: 15 additions & 0 deletions guava/src/com/google/common/net/HttpHeaders.java
Expand Up @@ -266,6 +266,21 @@ private ReferrerPolicyValues() {}
* @since 20.0
*/
public static final String X_WEBKIT_CSP_REPORT_ONLY = "X-WebKit-CSP-Report-Only";
/**
* The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP">{@code
* Cross-Origin-Embedder-Policy}</a> header field name.
*
* @since NEXT
*/
public static final String CROSS_ORIGIN_EMBEDDER_POLICY = "Cross-Origin-Embedder-Policy";
/**
* The HTTP <a href="https://wicg.github.io/cross-origin-embedder-policy/#COEP-RO">{@code
* Cross-Origin-Embedder-Policy-Report-Only}</a> header field name.
*
* @since NEXT
*/
public static final String CROSS_ORIGIN_EMBEDDER_POLICY_REPORT_ONLY =
"Cross-Origin-Embedder-Policy-Report-Only";
/**
* The HTTP Cross-Origin-Opener-Policy header field name.
*
Expand Down

0 comments on commit c3bf731

Please sign in to comment.