Chromium Code Reviews| Index: base/at_exit.h |
| diff --git a/base/at_exit.h b/base/at_exit.h |
| index 02e18ed9eb7508c1d3ffce38e175214c7c60f9e4..6e0108fc91710e98baf76e7f02ff18487f1bee5e 100644 |
| --- a/base/at_exit.h |
| +++ b/base/at_exit.h |
| @@ -49,6 +49,10 @@ class BASE_EXPORT AtExitManager { |
| // is possible to register new callbacks after calling this function. |
| static void ProcessCallbacksNow(); |
| + // Disable all registered at-exit callbacks. This is used only in a single- |
| + // process mode. See a comment in ~ChildProcess(). |
|
dcheng
2017/01/12 04:16:34
Nit: It would be nice to reword this comment in a
|
| + static void DisableAllAtExitManagers(); |
| + |
| protected: |
| // This constructor will allow this instance of AtExitManager to be created |
| // even if one already exists. This should only be used for testing! |