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

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

Issue 1098033002: Remove dependency on cc::TestNowSource from scheduler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates 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
« no previous file with comments | « content/child/scheduler/time_source.cc ('k') | content/child/scheduler/worker_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/scheduler/worker_scheduler_impl.h
diff --git a/content/child/scheduler/worker_scheduler_impl.h b/content/child/scheduler/worker_scheduler_impl.h
index 043476dbf627f7356299964e0ac12d26cb025fb6..06e9d586aa1e31e13f7969d8d6726372cd2a11ab 100644
--- a/content/child/scheduler/worker_scheduler_impl.h
+++ b/content/child/scheduler/worker_scheduler_impl.h
@@ -37,7 +37,7 @@ class CONTENT_EXPORT WorkerSchedulerImpl
void Init() override;
void Shutdown() override;
- void SetTimeSourceForTesting(scoped_refptr<cc::TestNowSource> time_source);
+ SchedulerHelper* GetSchedulerHelperForTesting();
void SetWorkBatchSizeForTesting(size_t work_batch_size);
base::TimeTicks CurrentIdleTaskDeadlineForTesting() const;
« no previous file with comments | « content/child/scheduler/time_source.cc ('k') | content/child/scheduler/worker_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698