Index: content/common/utility_messages.h |
diff --git a/content/common/utility_messages.h b/content/common/utility_messages.h |
index 1e5c68bfea3356eb466df21535a54ad8b287b655..c12032b6d93e4ccecf1c87b0658e92a9000a2d90 100644 |
--- a/content/common/utility_messages.h |
+++ b/content/common/utility_messages.h |
@@ -27,7 +27,7 @@ IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) |
// Tells the utility process that it can shutdown. |
IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) |
-#if defined(OS_POSIX) |
+#if defined(OS_POSIX) && defined(ENABLE_PLUGINS) |
// Tells the utility process to load each plugin in the order specified by the |
// vector. It will respond after each load with the WebPluginInfo. |
IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins, |
@@ -38,7 +38,7 @@ IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins, |
// Utility process host messages: |
// These are messages from the utility process to the browser. |
-#if defined(OS_POSIX) |
+#if defined(OS_POSIX) && defined(ENABLE_PLUGINS) |
// Notifies the browser when a plugin failed to load so the two processes can |
// keep the canonical list in sync. |
IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, |
@@ -49,4 +49,4 @@ IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, |
IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin, |
uint32_t /* index in the vector */, |
content::WebPluginInfo /* plugin info */) |
-#endif // OS_POSIX |
+#endif |