Chromium Code Reviews| Index: base/at_exit.cc |
| diff --git a/base/at_exit.cc b/base/at_exit.cc |
| index 0fba355698fbebc643fd3225d1323ec64964eb7d..405de98f731dff0b5710730e28cf4088402f4e81 100644 |
| --- a/base/at_exit.cc |
| +++ b/base/at_exit.cc |
| @@ -79,4 +79,13 @@ AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) { |
| g_top_manager = this; |
| } |
| +// static |
| +AtExitManager* AtExitManager::current() { |
| + return g_top_manager; |
| +} |
| + |
| +size_t AtExitManager::CallbackStackSize() const { |
| + return stack_.size(); |
| +} |
| + |
| } // namespace base |