Home
last modified time | relevance | path

Searched refs:g_top_manager (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/
Dat_exit.cc22 static AtExitManager* g_top_manager = NULL; variable
24 AtExitManager::AtExitManager() : next_manager_(g_top_manager) { in AtExitManager()
28 DCHECK(!g_top_manager); in AtExitManager()
30 g_top_manager = this; in AtExitManager()
34 if (!g_top_manager) { in ~AtExitManager()
38 DCHECK_EQ(this, g_top_manager); in ~AtExitManager()
41 g_top_manager = next_manager_; in ~AtExitManager()
52 if (!g_top_manager) { in RegisterTask()
57 AutoLock lock(g_top_manager->lock_); in RegisterTask()
58 g_top_manager->stack_.push(task); in RegisterTask()
[all …]