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

/external/chromium/base/threading/
H A Dthread_restrictions.h54 // Constructing a ScopedAllowSingleton temporarily allows accessing for the
56 class BASE_API ScopedAllowSingleton { class in class:base::ThreadRestrictions
58 ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); } function in class:base::ThreadRestrictions::ScopedAllowSingleton
59 ~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); }
61 // Whether singleton use is allowed when the ScopedAllowSingleton was
65 DISALLOW_COPY_AND_ASSIGN(ScopedAllowSingleton);

Completed in 130 milliseconds