Searched refs:confirm_func (Results 1 – 2 of 2) sorted by relevance
62 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func, in WipeCache() argument70 if (confirm_func && !confirm_func()) { in WipeCache()
450 std::function<bool()> confirm_func = [&device]() { in PromptAndWait() local453 WipeCache(ui, ui->IsTextVisible() ? confirm_func : nullptr); in PromptAndWait()