Index: components/domain_reliability/dispatcher.h |
diff --git a/components/domain_reliability/dispatcher.h b/components/domain_reliability/dispatcher.h |
index 41cb511123b7a080e210c081d4fa85edcb8195a8..b65d404f57b253eb81ce212f7b3957d2e6eac977 100644 |
--- a/components/domain_reliability/dispatcher.h |
+++ b/components/domain_reliability/dispatcher.h |
@@ -35,9 +35,15 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityDispatcher { |
base::TimeDelta min_delay, |
base::TimeDelta max_delay); |
- // Runs all tasks whose minimum delay has already passed. |
+ // Runs all existing tasks whose minimum delay has already passed. Does not |
+ // run tasks added by those existing tasks, even if their minimum delay has |
+ // already passed. |
void RunEligibleTasks(); |
+ // Runs all waiting or eligible tasks, regardless of whether their minimum |
+ // delay has passed. |
+ void RunAllTasksForTesting(); |
+ |
private: |
struct Task; |