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

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: Last few changes Sami requested 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
« no previous file with comments | « components/scheduler/child/idle_helper.cc ('k') | components/scheduler/child/scheduler_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ee727f7e23bf88eda2f1d6f4483f6009c9f6fabb 100644
--- a/components/scheduler/child/scheduler_helper.h
+++ b/components/scheduler/child/scheduler_helper.h
@@ -83,7 +83,9 @@ class SCHEDULER_EXPORT SchedulerHelper : public TaskQueueManager::Observer {
void SetObserver(Observer* observer);
// Accessor methods.
- const scoped_refptr<RealTimeDomain>& real_time_domain() const;
+ RealTimeDomain* real_time_domain() const;
+ void RegisterTimeDomain(TimeDomain* time_domain);
+ void UnregisterTimeDomain(TimeDomain* time_domain);
const scoped_refptr<SchedulerTqmDelegate>& scheduler_tqm_delegate() const;
bool GetAndClearSystemIsQuiescentBit();
« no previous file with comments | « components/scheduler/child/idle_helper.cc ('k') | components/scheduler/child/scheduler_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698