summaryrefslogtreecommitdiffstats
path: root/base/process_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/process_linux.cc')
-rw-r--r--base/process_linux.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/process_linux.cc b/base/process_linux.cc
index 21ed933..14c2424 100644
--- a/base/process_linux.cc
+++ b/base/process_linux.cc
@@ -11,7 +11,14 @@
namespace base {
+#if defined(OS_CHROMEOS)
+// We are more aggressive in our lowering of background process priority
+// for chromeos as we have much more control over other processes running
+// on the machine.
+const int kPriorityAdjustment = 19;
+#else
const int kPriorityAdjustment = 5;
+#endif
bool Process::IsProcessBackgrounded() const {
DCHECK(process_);