diff options
author | maf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 00:10:16 +0000 |
---|---|---|
committer | maf@chromium.org <maf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-30 00:10:16 +0000 |
commit | fd132701cc19d57d156b8ff37300a9347117fd3b (patch) | |
tree | 2f2196fc12668296bee1147ee7e3035cc8756461 /base/process_util.h | |
parent | 26f70e1bc50dfe71be2fd62b5dce41e081ac8743 (diff) | |
download | chromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.zip chromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.tar.gz chromium_src-fd132701cc19d57d156b8ff37300a9347117fd3b.tar.bz2 |
Revert 83629 - linux components: expose more BASE_API used by Chrome itself
Review URL: http://codereview.chromium.org/6902177
TBR=evan@chromium.org
Review URL: http://codereview.chromium.org/6903159
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/process_util.h b/base/process_util.h index 5810ce3..bb8f30e 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -165,7 +165,7 @@ BASE_API ProcessId GetProcId(ProcessHandle process); #if defined(OS_LINUX) // Returns the path to the executable of the given process. -BASE_API FilePath GetProcessExecutablePath(ProcessHandle process); +FilePath GetProcessExecutablePath(ProcessHandle process); // Parse the data found in /proc/<pid>/stat and return the sum of the // CPU-related ticks. Returns -1 on parse error. @@ -177,7 +177,7 @@ 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(ProcessId process, int score); +bool AdjustOOMScore(ProcessId process, int score); #endif #if defined(OS_POSIX) @@ -187,7 +187,7 @@ BASE_API ProcessId GetParentProcessId(ProcessHandle process); // Close all file descriptors, except those which are a destination in the // given multimap. Only call this function in a child process where you know // that there aren't any other threads. -BASE_API void CloseSuperfluousFds(const InjectiveMultimap& saved_map); +void CloseSuperfluousFds(const InjectiveMultimap& saved_map); #endif #if defined(OS_WIN) |