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

Unified Diff: ipc/ipc_export.h

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: ipc/ipc_export.h
diff --git a/ipc/ipc_export.h b/ipc/ipc_export.h
index 776b3ee5e756efc758359b87248ece5d4b7c172a..9f8411c3cee11fc37a0c3f04a26749cfe5e10fae 100644
--- a/ipc/ipc_export.h
+++ b/ipc/ipc_export.h
@@ -17,16 +17,31 @@
#define IPC_EXPORT __declspec(dllimport)
#endif // defined(IPC_IMPLEMENTATION)
+#if defined(IPC_MOJO_IMPLEMENTATION)
+#define IPC_MOJO_EXPORT __declspec(dllexport)
+#else
+#define IPC_MOJO_EXPORT __declspec(dllimport)
+#endif // defined(IPC_MOJO_IMPLEMENTATION)
+
#else // defined(WIN32)
+
#if defined(IPC_IMPLEMENTATION)
#define IPC_EXPORT __attribute__((visibility("default")))
#else
#define IPC_EXPORT
#endif
+
+#if defined(IPC_MOJO_IMPLEMENTATION)
+#define IPC_MOJO_EXPORT __attribute__((visibility("default")))
+#else
+#define IPC_MOJO_EXPORT
+#endif
+
#endif
#else // defined(COMPONENT_BUILD)
#define IPC_EXPORT
+#define IPC_MOJO_EXPORT
#endif
#endif // IPC_IPC_EXPORT_H_
« ipc/ipc_channel.h ('K') | « ipc/ipc_channel_win.cc ('k') | ipc/ipc_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698