Index: content/child/child_process.cc |
diff --git a/content/child/child_process.cc b/content/child/child_process.cc |
index 9805c062f55c1872eb540abc0a029d8e32a72775..9bd52cb03a85df47761240a6de1e25752c9612cd 100644 |
--- a/content/child/child_process.cc |
+++ b/content/child/child_process.cc |
@@ -103,6 +103,14 @@ void ChildProcess::ReleaseProcess() { |
main_thread_->OnProcessFinalRelease(); |
} |
+#if defined(OS_LINUX) |
+void ChildProcess::SetIOThreadPriority( |
+ base::ThreadPriority io_thread_priority) { |
+ DCHECK(main_thread_.get()); |
Tom Sepez
2016/09/19 22:54:04
DCHECK doesn't buy us much, we'll segv in the next
reveman
2016/09/19 23:14:22
Makes sense. Done.
|
+ main_thread_->SetThreadPriority(io_thread_.GetThreadId(), io_thread_priority); |
+} |
+#endif |
+ |
ChildProcess* ChildProcess::current() { |
return g_lazy_tls.Pointer()->Get(); |
} |