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

Unified Diff: content/child/child_thread_impl.h

Issue 2357983004: base: Allow renderer thread priorities to be changed. (Closed)
Patch Set: Created 4 years, 3 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 | « content/child/child_process.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread_impl.h
diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h
index a66506aac5d5b40543b4381b7c933372cd31c29f..67e0343a1af4d791fd2ef9f33762d206c14e33e3 100644
--- a/content/child/child_thread_impl.h
+++ b/content/child/child_thread_impl.h
@@ -121,6 +121,11 @@ class CONTENT_EXPORT ChildThreadImpl
IPC::Sender* sender,
bool* out_of_memory);
+#if defined(OS_LINUX)
+ void SetThreadPriority(base::PlatformThreadId id,
+ base::ThreadPriority priority);
+#endif
+
ChildSharedBitmapManager* shared_bitmap_manager() const {
return shared_bitmap_manager_.get();
}
« no previous file with comments | « content/child/child_process.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698