OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ScopedAllowSingleton
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/threading/
thread_restrictions.h
54
// Constructing a
ScopedAllowSingleton
temporarily allows accessing for the
56
class BASE_API
ScopedAllowSingleton
{
58
ScopedAllowSingleton
() { previous_value_ = SetSingletonAllowed(true); }
59
~
ScopedAllowSingleton
() { SetSingletonAllowed(previous_value_); }
61
// Whether singleton use is allowed when the
ScopedAllowSingleton
was
65
DISALLOW_COPY_AND_ASSIGN(
ScopedAllowSingleton
);
/external/chromium_org/base/threading/
thread_restrictions.h
127
// Constructing a
ScopedAllowSingleton
temporarily allows accessing for the
129
class BASE_EXPORT
ScopedAllowSingleton
{
131
ScopedAllowSingleton
() { previous_value_ = SetSingletonAllowed(true); }
132
~
ScopedAllowSingleton
() { SetSingletonAllowed(previous_value_); }
134
// Whether singleton use is allowed when the
ScopedAllowSingleton
was
138
DISALLOW_COPY_AND_ASSIGN(
ScopedAllowSingleton
);
Completed in 237 milliseconds