OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #include <stdint.h> | |
8 | |
9 #include <string> | |
10 #include <vector> | |
11 | |
12 #include "build/build_config.h" | 7 #include "build/build_config.h" |
dcheng
2016/04/05 08:18:04
This one too, I think? Unless I'm missing somethin
Avi (use Gerrit)
2016/04/05 12:36:43
Yes; that was for OS_* and the file doesn't need i
piman
2016/04/05 15:16:37
You're just missing me being dense/sleepy. I'll re
piman
2016/04/05 19:59:29
Done.
| |
13 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
14 #include "content/public/common/common_param_traits.h" | |
15 #include "content/public/common/webplugininfo.h" | |
16 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
17 | 10 |
18 #undef IPC_MESSAGE_EXPORT | 11 #undef IPC_MESSAGE_EXPORT |
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
20 #define IPC_MESSAGE_START UtilityMsgStart | 13 #define IPC_MESSAGE_START UtilityMsgStart |
21 | 14 |
22 //------------------------------------------------------------------------------ | 15 //------------------------------------------------------------------------------ |
23 // Utility process messages: | 16 // Utility process messages: |
24 // These are messages from the browser to the utility process. | 17 // These are messages from the browser to the utility process. |
25 | 18 |
26 // Tells the utility process that it's running in batch mode. | 19 // Tells the utility process that it's running in batch mode. |
27 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) | 20 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) |
28 | 21 |
29 // Tells the utility process that it can shutdown. | 22 // Tells the utility process that it can shutdown. |
30 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) | 23 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) |
31 | |
32 #if defined(OS_POSIX) && defined(ENABLE_PLUGINS) | |
33 // Tells the utility process to load each plugin in the order specified by the | |
34 // vector. It will respond after each load with the WebPluginInfo. | |
35 IPC_MESSAGE_CONTROL1(UtilityMsg_LoadPlugins, | |
36 std::vector<base::FilePath> /* plugin paths */) | |
37 #endif | |
38 | |
39 //------------------------------------------------------------------------------ | |
40 // Utility process host messages: | |
41 // These are messages from the utility process to the browser. | |
42 | |
43 #if defined(OS_POSIX) && defined(ENABLE_PLUGINS) | |
44 // Notifies the browser when a plugin failed to load so the two processes can | |
45 // keep the canonical list in sync. | |
46 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, | |
47 uint32_t /* index in the vector */, | |
48 base::FilePath /* path of plugin */) | |
49 | |
50 // Notifies the browser that a plugin in the vector sent by it has been loaded. | |
51 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin, | |
52 uint32_t /* index in the vector */, | |
53 content::WebPluginInfo /* plugin info */) | |
54 #endif | |
OLD | NEW |