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

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

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed various dchecks Created 5 years, 1 month 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/scheduler/child/scheduler_helper.h
diff --git a/components/scheduler/child/scheduler_helper.h b/components/scheduler/child/scheduler_helper.h
index 27e33aa007f5dfac76460d0e7e0fa45e0c53ff32..fb4a66d4a9337f99c2b6d4bcbc746cfc516a6569 100644
--- a/components/scheduler/child/scheduler_helper.h
+++ b/components/scheduler/child/scheduler_helper.h
@@ -84,6 +84,8 @@ class SCHEDULER_EXPORT SchedulerHelper : public TaskQueueManager::Observer {
// Accessor methods.
const scoped_refptr<RealTimeDomain>& real_time_domain() const;
+ void RegisterTimeDomain(const scoped_refptr<TimeDomain>& time_domain);
+ void UnregisterTimeDomain(const scoped_refptr<TimeDomain>& time_domain);
const scoped_refptr<SchedulerTqmDelegate>& scheduler_tqm_delegate() const;
bool GetAndClearSystemIsQuiescentBit();

Powered by Google App Engine
This is Rietveld 408576698