- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
32 lines
838 B
Java
32 lines
838 B
Java
package androidx.webkit;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.UiThread;
|
|
import androidx.webkit.internal.ProfileStoreImpl;
|
|
import androidx.webkit.internal.WebViewFeatureInternal;
|
|
import java.util.List;
|
|
|
|
@UiThread
|
|
/* loaded from: classes.dex */
|
|
public interface ProfileStore {
|
|
boolean deleteProfile(@NonNull String str);
|
|
|
|
@NonNull
|
|
List<String> getAllProfileNames();
|
|
|
|
@NonNull
|
|
Profile getOrCreateProfile(@NonNull String str);
|
|
|
|
@Nullable
|
|
Profile getProfile(@NonNull String str);
|
|
|
|
@NonNull
|
|
static ProfileStore getInstance() {
|
|
if (WebViewFeatureInternal.MULTI_PROFILE.isSupportedByWebView()) {
|
|
return ProfileStoreImpl.getInstance();
|
|
}
|
|
throw WebViewFeatureInternal.getUnsupportedOperationException();
|
|
}
|
|
}
|