Add a stub __cxa_demangle to disable LLVM's demangler.
[chromium-blink-merge.git] / content / common / utility_messages.h
blobc12032b6d93e4ccecf1c87b0658e92a9000a2d90
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Multiply-included message file, so no include guard.
7 #include <string>
8 #include <vector>
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
12 #include "content/public/common/common_param_traits.h"
13 #include "content/public/common/webplugininfo.h"
14 #include "ipc/ipc_message_macros.h"
16 #undef IPC_MESSAGE_EXPORT
17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
18 #define IPC_MESSAGE_START UtilityMsgStart
20 //------------------------------------------------------------------------------
21 // Utility process messages:
22 // These are messages from the browser to the utility process.
24 // Tells the utility process that it's running in batch mode.
25 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
27 // Tells the utility process that it can shutdown.
28 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished)
30 #if defined(OS_POSIX) && defined(ENABLE_PLUGINS)
31 // Tells the utility process to load each plugin in the order specified by the
32 // vector. It will respond after each load with the WebPluginInfo.
33 IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins,
34 std::vector<base::FilePath> /* plugin paths */)
35 #endif
37 //------------------------------------------------------------------------------
38 // Utility process host messages:
39 // These are messages from the utility process to the browser.
41 #if defined(OS_POSIX) && defined(ENABLE_PLUGINS)
42 // Notifies the browser when a plugin failed to load so the two processes can
43 // keep the canonical list in sync.
44 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed,
45 uint32_t /* index in the vector */,
46 base::FilePath /* path of plugin */)
48 // Notifies the browser that a plugin in the vector sent by it has been loaded.
49 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin,
50 uint32_t /* index in the vector */,
51 content::WebPluginInfo /* plugin info */)
52 #endif