Skip to content

Commit 4ef2111

Browse files
ralucaraducpovirk
ralucaradu
authored andcommitted
Add constant for the Cross-Origin-Opener-Policy header.
[] RELNOTES=Adds constant for the Cross-Origin-Opener-Policy header. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272415924
1 parent 2220eb2 commit 4ef2111

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

android/guava/src/com/google/common/net/HttpHeaders.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@ private ReferrerPolicyValues() {}
266266
* @since 20.0
267267
*/
268268
public static final String X_WEBKIT_CSP_REPORT_ONLY = "X-WebKit-CSP-Report-Only";
269+
/**
270+
* The HTTP Cross-Origin-Opener-Policy header field name.
271+
*
272+
* @since NEXT
273+
*/
274+
public static final String CROSS_ORIGIN_OPENER_POLICY = "Cross-Origin-Opener-Policy";
269275
/** The HTTP {@code ETag} header field name. */
270276
public static final String ETAG = "ETag";
271277
/** The HTTP {@code Expires} header field name. */

guava/src/com/google/common/net/HttpHeaders.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,12 @@ private ReferrerPolicyValues() {}
266266
* @since 20.0
267267
*/
268268
public static final String X_WEBKIT_CSP_REPORT_ONLY = "X-WebKit-CSP-Report-Only";
269+
/**
270+
* The HTTP Cross-Origin-Opener-Policy header field name.
271+
*
272+
* @since NEXT
273+
*/
274+
public static final String CROSS_ORIGIN_OPENER_POLICY = "Cross-Origin-Opener-Policy";
269275
/** The HTTP {@code ETag} header field name. */
270276
public static final String ETAG = "ETag";
271277
/** The HTTP {@code Expires} header field name. */

0 commit comments

Comments
 (0)