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

Unified Diff: base/threading/platform_thread.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
« no previous file with comments | « no previous file | base/threading/platform_thread_posix.cc » ('j') | content/renderer/raster_worker_pool.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/platform_thread.h
diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
index e62eb2b2c18475adeeb902f6b248e023dae69b2c..d60d07453a9d3f7dc63b4afd0964c2ca356f41e0 100644
--- a/base/threading/platform_thread.h
+++ b/base/threading/platform_thread.h
@@ -110,6 +110,8 @@ enum class ThreadPriority {
REALTIME_AUDIO,
};
+std::string BASE_EXPORT GetThreadPriorityAbbr(ThreadPriority priority);
+
// A namespace for low-level thread functions.
class BASE_EXPORT PlatformThread {
public:
« no previous file with comments | « no previous file | base/threading/platform_thread_posix.cc » ('j') | content/renderer/raster_worker_pool.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698