Index: base/process_util.cc |
diff --git a/base/process_util.cc b/base/process_util.cc |
index 18e3be7b9d256f270bbbb6753e15b73811fa5065..e9403b19d61ea926bc8df4907a95dcef8d9669c7 100644 |
--- a/base/process_util.cc |
+++ b/base/process_util.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -6,6 +6,12 @@ |
namespace base { |
+#if defined(OS_LINUX) |
+// Definition for exported constant defined in header. This is used |
+// to pass the oom score to the setuid sandbox. |
+const char kAdjustOOMScoreSwitch[] = "--adjust-oom-score"; |
+#endif |
+ |
#if defined(OS_POSIX) |
ProcessEntry::ProcessEntry() : pid_(0), ppid_(0), gid_(0) {} |
ProcessEntry::~ProcessEntry() {} |