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

Unified Diff: third_party/WebKit/public/platform/scheduler/base/task_queue.h

Issue 2517383004: [scheduler] Bunch of improvements for blink scheduler tracing (Closed)
Patch Set: Some more 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
Index: third_party/WebKit/public/platform/scheduler/base/task_queue.h
diff --git a/third_party/WebKit/public/platform/scheduler/base/task_queue.h b/third_party/WebKit/public/platform/scheduler/base/task_queue.h
index 7450d87f9277924f7edf069bf74196e458bf129f..4f48b0024cec6e19689cc5c8f130d600a5ff713e 100644
--- a/third_party/WebKit/public/platform/scheduler/base/task_queue.h
+++ b/third_party/WebKit/public/platform/scheduler/base/task_queue.h
@@ -54,6 +54,9 @@ class BLINK_PLATFORM_EXPORT TaskQueue : public base::SingleThreadTaskRunner {
FIRST_QUEUE_PRIORITY = CONTROL_PRIORITY,
};
+ // Can be called on any thread.
+ static const char* PriorityToString(QueuePriority priority);
+
enum class QueueType {
// Keep TaskQueue::NameForQueueType in sync.
// This enum is used for a histogram and it should not be re-numbered.

Powered by Google App Engine
This is Rietveld 408576698