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

Unified Diff: content/child/scheduler/scheduler_helper.h

Issue 1033643004: Add a WorkerScheduler and a WebThreadImplForWorker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug where tasks posted to a worker thread did not always run when the thread was shutdown Created 5 years, 8 months 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: content/child/scheduler/scheduler_helper.h
diff --git a/content/child/scheduler/scheduler_helper.h b/content/child/scheduler/scheduler_helper.h
index 0fefde61535e91af8809279992bfb684ba1a334b..9834380c3279d3234420b7541e6581e16e3f04b8 100644
--- a/content/child/scheduler/scheduler_helper.h
+++ b/content/child/scheduler/scheduler_helper.h
@@ -31,6 +31,10 @@ class CONTENT_EXPORT SchedulerHelper {
base::TimeTicks now,
base::TimeDelta* next_long_idle_period_delay_out) = 0;
+ // Signals that the Long Idle Period hasn't started yet because the system
+ // isn't quiescent.
+ virtual void IsNotQuiescent() = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(SchedulerHelperDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698