Index: base/linux_util.h |
=================================================================== |
--- base/linux_util.h (revision 95578) |
+++ base/linux_util.h (working copy) |
@@ -11,7 +11,7 @@ |
#include <string> |
-#include "base/base_api.h" |
+#include "base/base_export.h" |
namespace base { |
@@ -19,29 +19,29 @@ |
// 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 |