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

Unified Diff: ipc/ipc_export.h

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed ChanelBuilder to ChannelFactory Created 6 years, 5 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)
darin (slow to review) 2014/07/23 23:03:33 why do we need a different component? can we just
Hajime Morrita 2014/07/24 00:38:44 I tried to make this part of IPC and let ipc depen
+#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_

Powered by Google App Engine
This is Rietveld 408576698