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

Unified Diff: components/scheduler/base/virtual_time_domain.h

Issue 1477353002: Revert of Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/base/time_domain_unittest.cc ('k') | components/scheduler/base/virtual_time_domain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/base/virtual_time_domain.h
diff --git a/components/scheduler/base/virtual_time_domain.h b/components/scheduler/base/virtual_time_domain.h
index 78239c1c26dc780234c1b93a55db4bc65a6c2409..ce1f99aac1b1896b5861718ff39ccb3697008c37 100644
--- a/components/scheduler/base/virtual_time_domain.h
+++ b/components/scheduler/base/virtual_time_domain.h
@@ -15,9 +15,7 @@
class SCHEDULER_EXPORT VirtualTimeDomain : public TimeDomain {
public:
- VirtualTimeDomain(TimeDomain::Observer* observer,
- base::TimeTicks initial_time);
- ~VirtualTimeDomain() override;
+ VirtualTimeDomain(base::TimeTicks initial_time);
// TimeDomain implementation:
LazyNow CreateLazyNow() override;
@@ -43,6 +41,8 @@
TaskQueueManagerDelegate* task_queue_manager_delegate_; // NOT OWNED
base::Closure do_work_closure_;
+ ~VirtualTimeDomain() override;
+
DISALLOW_COPY_AND_ASSIGN(VirtualTimeDomain);
};
« no previous file with comments | « components/scheduler/base/time_domain_unittest.cc ('k') | components/scheduler/base/virtual_time_domain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698