Searched refs:confirm_func (Results 1 – 2 of 2) sorted by relevance
87 bool WipeCache(RecoveryUI* ui, const std::function<bool()>& confirm_func) { in WipeCache() argument94 if (confirm_func && !confirm_func()) { in WipeCache()
536 std::function<bool()> confirm_func = [&device]() { in prompt_and_wait() local539 WipeCache(ui, ui->IsTextVisible() ? confirm_func : nullptr); in prompt_and_wait()