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

Unified Diff: base/task_scheduler/task_scheduler_impl.h

Issue 2511473004: Create base::test::ScopedTaskScheduler. (Closed)
Patch Set: rebase Created 4 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 | « base/task_scheduler/task_scheduler.h ('k') | base/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_scheduler_impl.h
diff --git a/base/task_scheduler/task_scheduler_impl.h b/base/task_scheduler/task_scheduler_impl.h
index 1483c5d646c3739fd9b16cc06d5f99a3a2b89a83..9a161037fee8915fd95cd7e19102b81911fa5dbc 100644
--- a/base/task_scheduler/task_scheduler_impl.h
+++ b/base/task_scheduler/task_scheduler_impl.h
@@ -62,10 +62,7 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler {
std::vector<const HistogramBase*> GetHistograms() const override;
void Shutdown() override;
void FlushForTesting() override;
-
- // Joins all threads of this scheduler. Tasks that are already running are
- // allowed to complete their execution. This can only be called once.
- void JoinForTesting();
+ void JoinForTesting() override;
private:
explicit TaskSchedulerImpl(const WorkerPoolIndexForTraitsCallback&
« no previous file with comments | « base/task_scheduler/task_scheduler.h ('k') | base/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698