Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2930)

Unified Diff: base/linux_util.h

Issue 7461141: Rename BASE_API to BASE_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/lazy_instance.h ('k') | base/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « base/lazy_instance.h ('k') | base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698