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

Unified Diff: content/renderer/raster_worker_pool.h

Issue 1830693004: content: Depict priority in raster worker thread's name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/renderer/raster_worker_pool.h
diff --git a/content/renderer/raster_worker_pool.h b/content/renderer/raster_worker_pool.h
index b4ddf9a61c251e6f759400ccff94266941a2f604..73776acda5e7ad15a632742b82821d14b8ea4849 100644
--- a/content/renderer/raster_worker_pool.h
+++ b/content/renderer/raster_worker_pool.h
@@ -94,6 +94,11 @@ class CONTENT_EXPORT RasterWorkerPool : public base::TaskRunner,
DISALLOW_COPY_AND_ASSIGN(ClosureTask);
};
+ void CreateAndStartRasterWorkerPoolThread(
+ const base::SimpleThread::Options& thread_options,
+ const std::vector<cc::TaskCategory>& categories,
+ base::ConditionVariable* has_ready_to_run_tasks_cv);
+
void ScheduleTasksWithLockAcquired(cc::NamespaceToken token,
cc::TaskGraph* graph);
void CollectCompletedTasksWithLockAcquired(cc::NamespaceToken token,

Powered by Google App Engine
This is Rietveld 408576698