Index: base/task_scheduler/task_tracker.h |
diff --git a/base/task_scheduler/task_tracker.h b/base/task_scheduler/task_tracker.h |
index fc0901f7c139ade379e6e334a3aa7603efec7b49..35f8cd1c1886e7f82bc6cbb1a2603a4c42d416c9 100644 |
--- a/base/task_scheduler/task_tracker.h |
+++ b/base/task_scheduler/task_tracker.h |
@@ -49,7 +49,11 @@ class BASE_EXPORT TaskTracker { |
// Returns true while shutdown is in progress (i.e. Shutdown() has been called |
// but hasn't returned). |
- bool IsShuttingDownForTesting() const; |
+ bool IsShutdownInProgress() const; |
+ |
+ // Causes IsShutdownInProgress() to return true. Shutdown() cannot be called |
+ // after this. |
robliao
2016/07/19 22:41:28
Comment why one would call this instead of Shutdow
fdoray
2016/07/20 18:22:21
Done.
|
+ void SetIsShutdownInProgressForTesting(); |
private: |
class State; |