chromium/chrome/android/java/src/org/chromium/chrome/browser/browserservices/permissiondelegation/PermissionStatus.java

// Copyright 2022 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.chrome.browser.browserservices.permissiondelegation;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@IntDef({PermissionStatus.ALLOW, PermissionStatus.BLOCK, PermissionStatus.ASK})
@Retention(RetentionPolicy.SOURCE)
/** Represents the permission state in service calls. */
public @interface PermissionStatus {
    int ALLOW = 0;
    int BLOCK = 1;
    int ASK = 2;
}