From a48fb4f72490f99a5f62586b2d7468661dca35d1 Mon Sep 17 00:00:00 2001 From: clap Date: Tue, 3 Nov 2020 10:32:15 -0800 Subject: [PATCH] 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 --- android/guava/src/com/google/common/net/HttpHeaders.java | 7 +++++++ guava/src/com/google/common/net/HttpHeaders.java | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/android/guava/src/com/google/common/net/HttpHeaders.java b/android/guava/src/com/google/common/net/HttpHeaders.java index 11a5b50f9861..e0052c100e4e 100644 --- a/android/guava/src/com/google/common/net/HttpHeaders.java +++ b/android/guava/src/com/google/common/net/HttpHeaders.java @@ -129,6 +129,13 @@ private HttpHeaders() {} public static final String MAX_FORWARDS = "Max-Forwards"; /** The HTTP {@code Origin} header field name. */ public static final String ORIGIN = "Origin"; + /** + * The HTTP {@code Origin-Isolation} header + * field name. + * + * @since NEXT + */ + public static final String ORIGIN_ISOLATION = "Origin-Isolation"; /** The HTTP {@code Proxy-Authorization} header field name. */ public static final String PROXY_AUTHORIZATION = "Proxy-Authorization"; /** The HTTP {@code Range} header field name. */ diff --git a/guava/src/com/google/common/net/HttpHeaders.java b/guava/src/com/google/common/net/HttpHeaders.java index 11a5b50f9861..e0052c100e4e 100644 --- a/guava/src/com/google/common/net/HttpHeaders.java +++ b/guava/src/com/google/common/net/HttpHeaders.java @@ -129,6 +129,13 @@ private HttpHeaders() {} public static final String MAX_FORWARDS = "Max-Forwards"; /** The HTTP {@code Origin} header field name. */ public static final String ORIGIN = "Origin"; + /** + * The HTTP {@code Origin-Isolation} header + * field name. + * + * @since NEXT + */ + public static final String ORIGIN_ISOLATION = "Origin-Isolation"; /** The HTTP {@code Proxy-Authorization} header field name. */ public static final String PROXY_AUTHORIZATION = "Proxy-Authorization"; /** The HTTP {@code Range} header field name. */