Files
rr3-apk/decompiled-community/sources/androidx/webkit/internal/ProfileImpl.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -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();
}
}