Index: mojo/public/cpp/system/platform_handle.h |
diff --git a/mojo/public/cpp/system/platform_handle.h b/mojo/public/cpp/system/platform_handle.h |
index 2a8173427b8c27a372f2131e609dbe424c0b2554..0b30ec8a14f63139859dea29ccdae77f76703f9c 100644 |
--- a/mojo/public/cpp/system/platform_handle.h |
+++ b/mojo/public/cpp/system/platform_handle.h |
@@ -22,6 +22,7 @@ |
#include "mojo/public/c/system/platform_handle.h" |
#include "mojo/public/cpp/system/buffer.h" |
#include "mojo/public/cpp/system/handle.h" |
+#include "mojo/public/cpp/system/system_export.h" |
#if defined(OS_WIN) |
#include <windows.h> |
@@ -50,10 +51,12 @@ const MojoPlatformHandleType kPlatformSharedBufferHandleType = |
#endif // defined(OS_POSIX) |
// Wraps a PlatformFile as a Mojo handle. Takes ownership of the file object. |
-ScopedHandle WrapPlatformFile(base::PlatformFile platform_file); |
+ScopedHandle MOJO_CPP_SYSTEM_EXPORT |
+WrapPlatformFile(base::PlatformFile platform_file); |
// Unwraps a PlatformFile from a Mojo handle. |
-MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file); |
+MojoResult MOJO_CPP_SYSTEM_EXPORT UnwrapPlatformFile(ScopedHandle handle, |
+ base::PlatformFile* file); |
// Wraps a base::SharedMemoryHandle as a Mojo handle. Takes ownership of the |
// SharedMemoryHandle. Note that |read_only| is only an indicator of whether |
@@ -66,10 +69,11 @@ ScopedSharedBufferHandle WrapSharedMemoryHandle( |
// Unwraps a base::SharedMemoryHandle from a Mojo handle. The caller assumes |
// responsibility for the lifetime of the SharedMemoryHandle. |
-MojoResult UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle, |
- base::SharedMemoryHandle* memory_handle, |
- size_t* size, |
- bool* read_only); |
+MojoResult MOJO_CPP_SYSTEM_EXPORT |
+UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle, |
+ base::SharedMemoryHandle* memory_handle, |
+ size_t* size, |
+ bool* read_only); |
} // namespace mojo |