Skip to main content

decide

Function decide 

Source
pub(crate) fn decide(
    kind: DialogKind,
    message: &str,
    paired: Option<(How, &str)>,
    covered: bool,
) -> Decision
Expand description

The policy (§5.1). paired is the click the dialog follows, if any; covered says whether Auto-approve covers the site that showed it.