Searched refs:SetSingletonAllowed (Results 1 – 5 of 5) sorted by relevance
432 static bool SetSingletonAllowed(bool allowed);447 static bool SetSingletonAllowed(bool allowed) { return true; } in SetSingletonAllowed() function
136 bool ThreadRestrictions::SetSingletonAllowed(bool allowed) { in SetSingletonAllowed() function in base::ThreadRestrictions
62 base::ThreadRestrictions::SetSingletonAllowed(false); in ThreadFunc()
473 ThreadRestrictions::SetSingletonAllowed( in RunOrSkipTask()539 ThreadRestrictions::SetSingletonAllowed(previous_singleton_allowed); in RunOrSkipTask()
156 ThreadRestrictions::SetSingletonAllowed(singleton_allowed)) {} in ScopedSetSingletonAllowed()158 ThreadRestrictions::SetSingletonAllowed(previous_value_); in ~ScopedSetSingletonAllowed()