summaryrefslogtreecommitdiffstats
path: root/base/linux_util.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-05 15:34:00 +0000
commit0bea7254836d17e3f1e278cbd52e8b8816c49a48 (patch)
treeeb16c01ad0143fad583cd60a87828fd90c94f61a /base/linux_util.h
parent93f3edc8adc1db9e3d1deebde0ec58d15b7e1a91 (diff)
downloadchromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.zip
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.gz
chromium_src-0bea7254836d17e3f1e278cbd52e8b8816c49a48.tar.bz2
Rename BASE_API to BASE_EXPORT.
R=rvargas Review URL: http://codereview.chromium.org/7461141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r--base/linux_util.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/base/linux_util.h b/base/linux_util.h
index d33cb88..4f2808b 100644
--- a/base/linux_util.h
+++ b/base/linux_util.h
@@ -11,7 +11,7 @@
#include <string>
-#include "base/base_api.h"
+#include "base/base_export.h"
namespace base {
@@ -19,29 +19,29 @@ static const char kFindInodeSwitch[] = "--find-inode";
// This is declared here so the crash reporter can access the memory directly
// in compromised context without going through the standard library.
-BASE_API extern char g_linux_distro[];
+BASE_EXPORT extern char g_linux_distro[];
// Get the Linux Distro if we can, or return "Unknown".
-BASE_API std::string GetLinuxDistro();
+BASE_EXPORT std::string GetLinuxDistro();
// Set the Linux Distro string.
-BASE_API void SetLinuxDistro(const std::string& distro);
+BASE_EXPORT void SetLinuxDistro(const std::string& distro);
// Return the inode number for the UNIX domain socket |fd|.
-BASE_API bool FileDescriptorGetInode(ino_t* inode_out, int fd);
+BASE_EXPORT bool FileDescriptorGetInode(ino_t* inode_out, int fd);
// Find the process which holds the given socket, named by inode number. If
// multiple processes hold the socket, this function returns false.
-BASE_API bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode);
+BASE_EXPORT bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode);
// For a given process |pid|, look through all its threads and find the first
// thread with /proc/[pid]/task/[thread_id]/syscall whose first N bytes matches
// |expected_data|, where N is the length of |expected_data|.
// Returns the thread id or -1 on error. If |syscall_supported| is
// set to false the kernel does not support syscall in procfs.
-BASE_API pid_t FindThreadIDWithSyscall(pid_t pid,
- const std::string& expected_data,
- bool* syscall_supported);
+BASE_EXPORT pid_t FindThreadIDWithSyscall(pid_t pid,
+ const std::string& expected_data,
+ bool* syscall_supported);
} // namespace base