Skip to content

Commit a48fb4f

Browse files
empijeicgdecker
authored andcommitted
Add constant for Origin Isolation header
Spec: https://github.com/WICG/origin-isolation RELNOTES=Adds constant for the Origin-Isolation header. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=340474672
1 parent b4de08c commit a48fb4f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ private HttpHeaders() {}
129129
public static final String MAX_FORWARDS = "Max-Forwards";
130130
/** The HTTP {@code Origin} header field name. */
131131
public static final String ORIGIN = "Origin";
132+
/**
133+
* The HTTP <a href="https://github.com/WICG/origin-isolation">{@code Origin-Isolation}</a> header
134+
* field name.
135+
*
136+
* @since NEXT
137+
*/
138+
public static final String ORIGIN_ISOLATION = "Origin-Isolation";
132139
/** The HTTP {@code Proxy-Authorization} header field name. */
133140
public static final String PROXY_AUTHORIZATION = "Proxy-Authorization";
134141
/** The HTTP {@code Range} header field name. */

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ private HttpHeaders() {}
129129
public static final String MAX_FORWARDS = "Max-Forwards";
130130
/** The HTTP {@code Origin} header field name. */
131131
public static final String ORIGIN = "Origin";
132+
/**
133+
* The HTTP <a href="https://github.com/WICG/origin-isolation">{@code Origin-Isolation}</a> header
134+
* field name.
135+
*
136+
* @since NEXT
137+
*/
138+
public static final String ORIGIN_ISOLATION = "Origin-Isolation";
132139
/** The HTTP {@code Proxy-Authorization} header field name. */
133140
public static final String PROXY_AUTHORIZATION = "Proxy-Authorization";
134141
/** The HTTP {@code Range} header field name. */

0 commit comments

Comments
 (0)