Home
last modified time | relevance | path

Searched refs:SetWaitAllowed (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/threading/
Dthread_restrictions.cc161 bool ThreadRestrictions::SetWaitAllowed(bool allowed) { in SetWaitAllowed() function in base::ThreadRestrictions
168 : was_allowed_(SetWaitAllowed(true)) {} in ScopedAllowWait()
171 SetWaitAllowed(was_allowed_); in ~ScopedAllowWait()
Dthread_restrictions.h508 static bool SetWaitAllowed(bool allowed);
510 static bool SetWaitAllowed(bool allowed) { return true; } in SetWaitAllowed() function
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc478 const bool previous_wait_allowed = ThreadRestrictions::SetWaitAllowed( in RunOrSkipTask()
537 ThreadRestrictions::SetWaitAllowed(previous_wait_allowed); in RunOrSkipTask()