Commit ce8a26c7 authored by darin@chromium.org's avatar darin@chromium.org

Fixup bad include and usage of BASE_API, which should be BASE_EXPORT.

TBR=rvargas@chromium.org
Review URL: http://codereview.chromium.org/7582007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95619 0039d316-1c4b-4281-b951-d872f2087c98
parent 0bea7254
......@@ -9,7 +9,6 @@
#include <string>
#include <vector>
#include "base/base_api.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/environment.h"
......
......@@ -11,13 +11,13 @@
#include <stdbool.h>
#include <sys/types.h>
#include "base/base_api.h"
#include "base/base_export.h"
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.
BASE_API bool AdjustOOMScore(pid_t process, int score);
BASE_EXPORT bool AdjustOOMScore(pid_t process, int score);
#endif // SANDBOX_LINUX_SUID_PROCESS_UTIL_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment