Searched refs:SetWaitAllowed (Results 1 – 3 of 3) sorted by relevance
225 static bool SetWaitAllowed(bool allowed);227 static bool SetWaitAllowed(bool allowed) { return true; } in SetWaitAllowed() function236 ScopedAllowWait() { previous_value_ = SetWaitAllowed(true); } in ScopedAllowWait()237 ~ScopedAllowWait() { SetWaitAllowed(previous_value_); } in ~ScopedAllowWait()
77 bool ThreadRestrictions::SetWaitAllowed(bool allowed) { in SetWaitAllowed() function in base::ThreadRestrictions
61 bool original_wait_allowed = base::ThreadRestrictions::SetWaitAllowed(true); in WriteTracesToDisc()63 base::ThreadRestrictions::SetWaitAllowed(original_wait_allowed); in WriteTracesToDisc()