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

/external/chromium_org/base/threading/
H A Dthread_restrictions.h134 // Constructing a ScopedAllowSingleton temporarily allows accessing for the
136 class BASE_EXPORT ScopedAllowSingleton { class in class:base::ThreadRestrictions
138 ScopedAllowSingleton() { previous_value_ = SetSingletonAllowed(true); } function in class:base::ThreadRestrictions::ScopedAllowSingleton
139 ~ScopedAllowSingleton() { SetSingletonAllowed(previous_value_); }
141 // Whether singleton use is allowed when the ScopedAllowSingleton was
145 DISALLOW_COPY_AND_ASSIGN(ScopedAllowSingleton);
/external/chromium_org/net/base/
H A Dkeygen_handler_unittest.cc123 base::ThreadRestrictions::ScopedAllowSingleton scoped_allow_singleton;
/external/chromium_org/content/browser/
H A Dbrowser_thread_impl.cc390 base::ThreadRestrictions::ScopedAllowSingleton allow_singleton;
494 base::ThreadRestrictions::ScopedAllowSingleton allow_singleton;

Completed in 88 milliseconds