Searched refs:g_blocking_disallowed (Results 1 – 1 of 1) sorted by relevance
17 LazyInstance<ThreadLocalBoolean>::Leaky g_blocking_disallowed = variable29 DCHECK(!g_blocking_disallowed.Get().Get()) in AssertBlockingAllowed()38 g_blocking_disallowed.Get().Set(true); in DisallowBlocking()42 : was_disallowed_(g_blocking_disallowed.Get().Get()) { in ScopedDisallowBlocking()43 g_blocking_disallowed.Get().Set(true); in ScopedDisallowBlocking()47 DCHECK(g_blocking_disallowed.Get().Get()); in ~ScopedDisallowBlocking()48 g_blocking_disallowed.Get().Set(was_disallowed_); in ~ScopedDisallowBlocking()52 : was_disallowed_(g_blocking_disallowed.Get().Get()) { in ScopedAllowBlocking()53 g_blocking_disallowed.Get().Set(false); in ScopedAllowBlocking()57 DCHECK(!g_blocking_disallowed.Get().Get()); in ~ScopedAllowBlocking()[all …]