chromium/android_webview/java/src/org/chromium/android_webview/common/origin_trial/DisableOriginTrialsSafeModeUtils.java

// Copyright 2023 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.android_webview.common.origin_trial;

import org.jni_zero.CalledByNative;
import org.jni_zero.JNINamespace;

/** A util class for disable origin trials Safe Mode operations. */
@JNINamespace("android_webview")
public class DisableOriginTrialsSafeModeUtils {
    private static final String TAG = "AwDisableOriginTrialsSafeMode";

    // Don't instantiate this class.
    private DisableOriginTrialsSafeModeUtils() {}

    @CalledByNative
    public static boolean isDisableOriginTrialsEnabled() {
        return DisableOriginTrialsSafeModeAction.isDisableOriginTrialsEnabled();
    }
}