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

Unified Diff: base/native_library.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/mime_util.h ('k') | base/nix/xdg_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/native_library.h
===================================================================
--- base/native_library.h (revision 95578)
+++ base/native_library.h (working copy)
@@ -9,7 +9,7 @@
// This file defines a cross-platform "NativeLibrary" type which represents
// a loadable module.
-#include "base/base_api.h"
+#include "base/base_export.h"
#include "build/build_config.h"
#if defined(OS_WIN)
@@ -55,8 +55,8 @@
// you're done. Returns NULL on failure.
// If |err| is not NULL, it may be filled in with an error message on
// error.
-BASE_API NativeLibrary LoadNativeLibrary(const FilePath& library_path,
- std::string* error);
+BASE_EXPORT NativeLibrary LoadNativeLibrary(const FilePath& library_path,
+ std::string* error);
#if defined(OS_WIN)
// Loads a native library from disk. Release it with UnloadNativeLibrary when
@@ -64,22 +64,22 @@
// This function retrieves the LoadLibrary function exported from kernel32.dll
// and calls it instead of directly calling the LoadLibrary function via the
// import table.
-BASE_API NativeLibrary LoadNativeLibraryDynamically(
+BASE_EXPORT NativeLibrary LoadNativeLibraryDynamically(
const FilePath& library_path);
#endif // OS_WIN
// Unloads a native library.
-BASE_API void UnloadNativeLibrary(NativeLibrary library);
+BASE_EXPORT void UnloadNativeLibrary(NativeLibrary library);
// Gets a function pointer from a native library.
-BASE_API void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
- const char* name);
+BASE_EXPORT void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
+ const char* name);
// Returns the full platform specific name for a native library.
// For example:
// "mylib" returns "mylib.dll" on Windows, "libmylib.so" on Linux,
// "mylib.dylib" on Mac.
-BASE_API string16 GetNativeLibraryName(const string16& name);
+BASE_EXPORT string16 GetNativeLibraryName(const string16& name);
} // namespace base
« no previous file with comments | « base/mime_util.h ('k') | base/nix/xdg_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698