diff options
author | Peter Birk Pakkenberg <pbirk@google.com> | 2022-09-26 15:41:16 +0100 |
---|---|---|
committer | Peter Birk Pakkenberg <pbirk@google.com> | 2022-09-26 15:41:16 +0100 |
commit | 98634f3066e0a839acac9d15ae01b317640d987d (patch) | |
tree | 9808dc3db3692aac0ea7a3eab12b9c253c2256c5 | |
parent | 9c50cfab7860ee05ba8e4d912a476bb809bd712e (diff) | |
parent | b2277c632713fe400752ef4bb60bc88c930fcacd (diff) | |
download | webview_support_interfaces-98634f3066e0a839acac9d15ae01b317640d987d.tar.gz |
[AndroidX Webkit] roll boundary interfaces to b2277c6
This rolls the boundary interfaces for the androidx.webkit module
to include the following commit range:
https://android.googlesource.com/platform/external/webview_support_interfaces/+log/9c50cfab7860ee05ba8e4d912a476bb809bd712e..b2277c632713fe400752ef4bb60bc88c930fcacd
Test: N/A
Change-Id: I191b121450adddda65b142e651e9afc5875b0f67
34 files changed, 70 insertions, 35 deletions
@@ -1,4 +1,4 @@ -# Copyright 2017 The Chromium Authors. All rights reserved. +# Copyright 2017 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/proguard.flags b/proguard.flags index 4a0d580..8938347 100644 --- a/proguard.flags +++ b/proguard.flags @@ -1,4 +1,4 @@ -# Copyright 2018 The Chromium Authors. All rights reserved. +# Copyright 2018 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface.java b/src/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface.java index d2fa11e..df9dec7 100644 --- a/src/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/FeatureFlagHolderBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface.java b/src/org/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface.java index 7cccfc4..3063d44 100644 --- a/src/org/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/IsomorphicObjectBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/JsReplyProxyBoundaryInterface.java b/src/org/chromium/support_lib_boundary/JsReplyProxyBoundaryInterface.java index e2da069..046b157 100644 --- a/src/org/chromium/support_lib_boundary/JsReplyProxyBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/JsReplyProxyBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2019 The Chromium Authors. All rights reserved. +// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ProcessGlobalConfigConstants.java b/src/org/chromium/support_lib_boundary/ProcessGlobalConfigConstants.java index 50e32b3..4da312b 100644 --- a/src/org/chromium/support_lib_boundary/ProcessGlobalConfigConstants.java +++ b/src/org/chromium/support_lib_boundary/ProcessGlobalConfigConstants.java @@ -1,4 +1,4 @@ -// Copyright 2022 The Chromium Authors. All rights reserved. +// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ProxyControllerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ProxyControllerBoundaryInterface.java index 07888ef..ff9ed8c 100644 --- a/src/org/chromium/support_lib_boundary/ProxyControllerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ProxyControllerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface.java b/src/org/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface.java index 737ef36..0b88b28 100644 --- a/src/org/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/SafeBrowsingResponseBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java index 0be98f8..7d2c8f2 100644 --- a/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2020 The Chromium Authors. All rights reserved. +// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java index ed7d30d..43d09d7 100644 --- a/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ServiceWorkerClientBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface.java index e25e3ed..077a8fd 100644 --- a/src/org/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ServiceWorkerControllerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface.java index c7f60ab..5a4b9ab 100644 --- a/src/org/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ServiceWorkerWebSettingsBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,6 +6,8 @@ package org.chromium.support_lib_boundary; import org.chromium.support_lib_boundary.WebSettingsBoundaryInterface.RequestedWithHeaderMode; +import java.util.Set; + /** * Boundary interface for ServiceWorkerWebSettings. */ @@ -26,7 +28,13 @@ public interface ServiceWorkerWebSettingsBoundaryInterface { boolean getBlockNetworkLoads(); + @Deprecated void setRequestedWithHeaderMode(@RequestedWithHeaderMode int mode); + @Deprecated @RequestedWithHeaderMode int getRequestedWithHeaderMode(); + + void setRequestedWithHeaderOriginAllowList(Set<String> allowedOriginRules); + + Set<String> getRequestedWithHeaderOriginAllowList(); } diff --git a/src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java b/src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java index e13b77a..8b281fc 100644 --- a/src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/StaticsBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/TracingControllerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/TracingControllerBoundaryInterface.java index 84b7a1e..4f21973 100644 --- a/src/org/chromium/support_lib_boundary/TracingControllerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/TracingControllerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface.java b/src/org/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface.java index 6fd25c5..add67f7 100644 --- a/src/org/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/VisualStateCallbackBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebAuthnCallbackBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebAuthnCallbackBoundaryInterface.java index 8b6efc1..6eeaa41 100644 --- a/src/org/chromium/support_lib_boundary/WebAuthnCallbackBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebAuthnCallbackBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2021 The Chromium Authors. All rights reserved. +// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebMessageBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebMessageBoundaryInterface.java index 93782d5..d4315d2 100644 --- a/src/org/chromium/support_lib_boundary/WebMessageBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebMessageBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface.java index acac2dc..18710ce 100644 --- a/src/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebMessageCallbackBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface.java index 92a393f..6019027 100644 --- a/src/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebMessageListenerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2019 The Chromium Authors. All rights reserved. +// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface.java index 1a4d6b5..4635438 100644 --- a/src/org/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebMessagePayloadBoundaryInterface.java @@ -1,10 +1,11 @@ -// Copyright 2022 The Chromium Authors. All rights reserved. +// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.support_lib_boundary; import androidx.annotation.IntDef; +import androidx.annotation.NonNull; import androidx.annotation.Nullable; import java.lang.annotation.Retention; @@ -20,9 +21,14 @@ public interface WebMessagePayloadBoundaryInterface extends FeatureFlagHolderBou @Nullable String getAsString(); + @NonNull + byte[] getAsArrayBuffer(); + @Retention(RetentionPolicy.SOURCE) - @IntDef(flag = true, value = {WebMessagePayloadType.TYPE_STRING}) + @IntDef(flag = true, + value = {WebMessagePayloadType.TYPE_STRING, WebMessagePayloadType.TYPE_ARRAY_BUFFER}) @interface WebMessagePayloadType { int TYPE_STRING = 0; + int TYPE_ARRAY_BUFFER = 1; } } diff --git a/src/org/chromium/support_lib_boundary/WebMessagePortBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebMessagePortBoundaryInterface.java index 3aacd26..e78adcf 100644 --- a/src/org/chromium/support_lib_boundary/WebMessagePortBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebMessagePortBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java index 953d8cb..3830415 100644 --- a/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebResourceErrorBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebResourceRequestBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebResourceRequestBoundaryInterface.java index b91100a..30be829 100644 --- a/src/org/chromium/support_lib_boundary/WebResourceRequestBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebResourceRequestBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java index ba2fd39..fa298a6 100644 --- a/src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebSettingsBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -11,6 +11,7 @@ package org.chromium.support_lib_boundary; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +import java.util.Set; /** * Boundary interface for WebSettingsCompat. @@ -56,15 +57,21 @@ public interface WebSettingsBoundaryInterface { @WebAuthnSupport int getWebAuthnSupport(); + @Deprecated @Retention(RetentionPolicy.SOURCE) @interface RequestedWithHeaderMode { int NO_HEADER = 0; int APP_PACKAGE_NAME = 1; } + @Deprecated void setRequestedWithHeaderMode(@RequestedWithHeaderMode int mode); + @Deprecated @RequestedWithHeaderMode int getRequestedWithHeaderMode(); + void setRequestedWithHeaderOriginAllowList(Set<String> allowedOriginRules); + Set<String> getRequestedWithHeaderOriginAllowList(); + void setEnterpriseAuthenticationAppLinkPolicyEnabled(boolean enabled); boolean getEnterpriseAuthenticationAppLinkPolicyEnabled(); } diff --git a/src/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface.java index fc60168..faaf51f 100644 --- a/src/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewClientBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebViewCookieManagerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewCookieManagerBoundaryInterface.java index e29c908..f79cd22 100644 --- a/src/org/chromium/support_lib_boundary/WebViewCookieManagerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewCookieManagerBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebViewProviderBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewProviderBoundaryInterface.java index d524b31..629f36f 100644 --- a/src/org/chromium/support_lib_boundary/WebViewProviderBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewProviderBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface.java index 902a04b..ef4ea8e 100644 --- a/src/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewProviderFactoryBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebViewRendererBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewRendererBoundaryInterface.java index 829c6e1..db5819b 100644 --- a/src/org/chromium/support_lib_boundary/WebViewRendererBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewRendererBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface.java index 043ca66..d7b447d 100644 --- a/src/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebViewRendererClientBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface.java b/src/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface.java index da335f1..5d4c8ac 100644 --- a/src/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/package-info.java b/src/org/chromium/support_lib_boundary/package-info.java index 053f844..1baeb36 100644 --- a/src/org/chromium/support_lib_boundary/package-info.java +++ b/src/org/chromium/support_lib_boundary/package-info.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. diff --git a/src/org/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil.java b/src/org/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil.java index 0be05d2..1432065 100644 --- a/src/org/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil.java +++ b/src/org/chromium/support_lib_boundary/util/BoundaryInterfaceReflectionUtil.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.support_lib_boundary.util; diff --git a/src/org/chromium/support_lib_boundary/util/Features.java b/src/org/chromium/support_lib_boundary/util/Features.java index e4abaae..2ddeece 100644 --- a/src/org/chromium/support_lib_boundary/util/Features.java +++ b/src/org/chromium/support_lib_boundary/util/Features.java @@ -1,4 +1,4 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. +// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -106,6 +106,9 @@ public class Features { "SAFE_BROWSING_RESPONSE_SHOW_INTERSTITIAL"; // WebMessage.getMessagePayload + // WebMessagePayload.getType + // WebMessagePayload.getAsString + // WebMessagePayload.getAsArrayBuffer public static final String WEB_MESSAGE_GET_MESSAGE_PAYLOAD = "WEB_MESSAGE_GET_MESSAGE_PAYLOAD"; // WebMessagePortCompat.postMessage @@ -201,8 +204,19 @@ public class Features { // WebSettingsCompat.getRequestedWithHeaderMode // ServiceWorkerWebSettingsCompat.setRequestedWithHeaderMode // ServiceWorkerWebSettingsCompat.getRequestedWithHeaderMode + /** + * @deprecated Feature was never launched. Do not reuse feature name. + */ + @Deprecated() public static final String REQUESTED_WITH_HEADER_CONTROL = "REQUESTED_WITH_HEADER_CONTROL"; + // WebSettingsCompat.setRequestedWithHeaderAllowList + // WebSettingsCompat.getRequestedWithHeaderAllowList + // ServiceWorkerWebSettingsCompat.setRequestedWithHeaderAllowList + // ServiceWorkerWebSettingsCompat.getRequestedWithHeaderAllowList + public static final String REQUESTED_WITH_HEADER_ALLOW_LIST = + "REQUESTED_WITH_HEADER_ALLOW_LIST"; + // WebViewCompat.getVariationsHeader public static final String GET_VARIATIONS_HEADER = "GET_VARIATIONS_HEADER"; |