Files
rr3-apk/decompiled/sources/androidx/webkit/internal/ServiceWorkerClientAdapter.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

31 lines
1.2 KiB
Java

package androidx.webkit.internal;
import android.webkit.WebResourceRequest;
import android.webkit.WebResourceResponse;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.webkit.ServiceWorkerClientCompat;
import androidx.webkit.WebViewFeature;
import org.chromium.support_lib_boundary.ServiceWorkerClientBoundaryInterface;
/* loaded from: classes.dex */
public class ServiceWorkerClientAdapter implements ServiceWorkerClientBoundaryInterface {
private final ServiceWorkerClientCompat mClient;
@Override // org.chromium.support_lib_boundary.FeatureFlagHolderBoundaryInterface
@NonNull
public String[] getSupportedFeatures() {
return new String[]{WebViewFeature.SERVICE_WORKER_SHOULD_INTERCEPT_REQUEST};
}
public ServiceWorkerClientAdapter(@NonNull ServiceWorkerClientCompat serviceWorkerClientCompat) {
this.mClient = serviceWorkerClientCompat;
}
@Override // org.chromium.support_lib_boundary.ServiceWorkerClientBoundaryInterface
@Nullable
public WebResourceResponse shouldInterceptRequest(@NonNull WebResourceRequest webResourceRequest) {
return this.mClient.shouldInterceptRequest(webResourceRequest);
}
}