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

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

Issue 1132753008: Replaced TestNowSource with SimpleTestTickClock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected typo. Minor changes to keep parity with TestNowSource. Created 5 years, 7 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: components/scheduler/child/task_queue_manager.h
diff --git a/components/scheduler/child/task_queue_manager.h b/components/scheduler/child/task_queue_manager.h
index 6e999198b09deeca29786647e78b73a2818a17fd..b985951d034f459da9ed610cd00e926375d2d53a 100644
--- a/components/scheduler/child/task_queue_manager.h
+++ b/components/scheduler/child/task_queue_manager.h
@@ -159,6 +159,7 @@ class SCHEDULER_EXPORT TaskQueueManager : public TaskQueueSelector::Observer {
void RemoveTaskObserver(base::MessageLoop::TaskObserver* task_observer);
void SetTimeSourceForTesting(scoped_ptr<TimeSource> time_source);
+ TimeSource* GetTimeSourceForTesting();
// Returns a bitmap where a bit is set iff a task on the corresponding queue
// was run since the last call to GetAndClearTaskWasRunOnQueueBitmap.

Powered by Google App Engine
This is Rietveld 408576698