Files
rr3-apk/decompiled/sources/androidx/webkit/internal/ProfileImpl.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

68 lines
2.4 KiB
Java

package androidx.webkit.internal;
import android.webkit.CookieManager;
import android.webkit.GeolocationPermissions;
import android.webkit.ServiceWorkerController;
import android.webkit.WebStorage;
import androidx.annotation.NonNull;
import androidx.webkit.Profile;
import org.chromium.support_lib_boundary.ProfileBoundaryInterface;
/* loaded from: classes.dex */
public class ProfileImpl implements Profile {
private final ProfileBoundaryInterface mProfileImpl;
public ProfileImpl(ProfileBoundaryInterface profileBoundaryInterface) {
this.mProfileImpl = profileBoundaryInterface;
}
private ProfileImpl() {
this.mProfileImpl = null;
}
@Override // androidx.webkit.Profile
@NonNull
public String getName() {
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
return this.mProfileImpl.getName();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
@Override // androidx.webkit.Profile
@NonNull
public CookieManager getCookieManager() throws IllegalStateException {
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
return this.mProfileImpl.getCookieManager();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
@Override // androidx.webkit.Profile
@NonNull
public WebStorage getWebStorage() throws IllegalStateException {
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
return this.mProfileImpl.getWebStorage();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
@Override // androidx.webkit.Profile
@NonNull
public GeolocationPermissions getGeolocationPermissions() throws IllegalStateException {
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
return this.mProfileImpl.getGeoLocationPermissions();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
@Override // androidx.webkit.Profile
@NonNull
public ServiceWorkerController getServiceWorkerController() throws IllegalStateException {
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
return this.mProfileImpl.getServiceWorkerController();
}
throw WebViewFeatureInternal.getUnsupportedOperationException();
}
}