summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 23:54:11 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-29 23:54:11 +0000
commitafedf0168c27568034e6fe98eb4b573a36469f98 (patch)
treecdc66ea0eac9f20127f347c2bca26a192871b0f7 /sandbox
parenteffa399e47e7095faa32f6815494b01f02b2e0e7 (diff)
downloadchromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.zip
chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.gz
chromium_src-afedf0168c27568034e6fe98eb4b573a36469f98.tar.bz2
linux components: expose more BASE_API used by Chrome itself
Review URL: http://codereview.chromium.org/6902177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/suid/process_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/linux/suid/process_util.h b/sandbox/linux/suid/process_util.h
index 68ff81d..a0fbb7a 100644
--- a/sandbox/linux/suid/process_util.h
+++ b/sandbox/linux/suid/process_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 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.
@@ -16,6 +16,6 @@ static const char kAdjustOOMScoreSwitch[] = "--adjust-oom-score";
// This adjusts /proc/process/oom_adj so the Linux OOM killer will prefer
// certain process types over others. The range for the adjustment is
// [-17,15], with [0,15] being user accessible.
-bool AdjustOOMScore(pid_t process, int score);
+BASE_API bool AdjustOOMScore(pid_t process, int score);
#endif // SANDBOX_LINUX_SUID_PROCESS_UTIL_H_