Searched defs:SetSingletonAllowed (Results 1 - 4 of 4) sorted by relevance

/external/chromium/base/threading/
H A Dthread_restrictions.cc45 bool ThreadRestrictions::SetSingletonAllowed(bool allowed) { function in class:base::ThreadRestrictions
H A Dthread_restrictions.h58 ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); }
59 ~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); }
81 static bool SetSingletonAllowed(bool allowed);
91 static bool SetSingletonAllowed(bool allowed) { return true; } function in class:base::ThreadRestrictions
/external/chromium_org/base/threading/
H A Dthread_restrictions.cc48 bool ThreadRestrictions::SetSingletonAllowed(bool allowed) { function in class:base::ThreadRestrictions
H A Dthread_restrictions.h131 ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); }
132 ~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); }
154 static bool SetSingletonAllowed(bool allowed);
171 static bool SetSingletonAllowed(bool allowed) { return true; } function in class:base::ThreadRestrictions

Completed in 197 milliseconds