Searched refs:SetSingletonAllowed (Results 1 – 3 of 3) sorted by relevance
144 ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); } in ScopedAllowSingleton()145 ~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); } in ~ScopedAllowSingleton()167 static bool SetSingletonAllowed(bool allowed);184 static bool SetSingletonAllowed(bool) { return true; } in SetSingletonAllowed() function
48 bool ThreadRestrictions::SetSingletonAllowed(bool allowed) { in SetSingletonAllowed() function in base::ThreadRestrictions
56 base::ThreadRestrictions::SetSingletonAllowed(false); in ThreadFunc()