Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: components/domain_reliability/dispatcher.h

Issue 2336043007: Domain Reliability: Don't crash on shutdown with uploads pending (Closed)
Patch Set: No, really. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/domain_reliability/dispatcher.h
diff --git a/components/domain_reliability/dispatcher.h b/components/domain_reliability/dispatcher.h
index 41cb511123b7a080e210c081d4fa85edcb8195a8..88f422156f149d69df352950743c25b567e89a46 100644
--- a/components/domain_reliability/dispatcher.h
+++ b/components/domain_reliability/dispatcher.h
@@ -38,6 +38,8 @@ class DOMAIN_RELIABILITY_EXPORT DomainReliabilityDispatcher {
// Runs all tasks whose minimum delay has already passed.
void RunEligibleTasks();
+ void RunAllTasksForTesting();
+
private:
struct Task;

Powered by Google App Engine
This is Rietveld 408576698