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
125
// Constructing a
ScopedAllowSingleton
temporarily allows accessing for the
127
class BASE_EXPORT
ScopedAllowSingleton
{
129
ScopedAllowSingleton
() { previous_value_ = SetSingletonAllowed(true); }
130
~
ScopedAllowSingleton
() { SetSingletonAllowed(previous_value_); }
132
// Whether singleton use is allowed when the
ScopedAllowSingleton
was
136
DISALLOW_COPY_AND_ASSIGN(
ScopedAllowSingleton
);
Completed in 1447 milliseconds