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

Side by Side Diff: content/common/utility_messages.h

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/public/common/common_param_traits.h" 14 #include "content/public/common/common_param_traits.h"
15 #include "content/public/common/webplugininfo.h" 15 #include "content/public/common/webplugininfo.h"
dcheng 2016/04/05 06:12:15 <stdint.h>, <string>, <vector>, "build_config.h",
piman 2016/04/05 08:15:30 Done.
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 17
18 #undef IPC_MESSAGE_EXPORT 18 #undef IPC_MESSAGE_EXPORT
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
20 #define IPC_MESSAGE_START UtilityMsgStart 20 #define IPC_MESSAGE_START UtilityMsgStart
21 21
22 //------------------------------------------------------------------------------ 22 //------------------------------------------------------------------------------
23 // Utility process messages: 23 // Utility process messages:
24 // These are messages from the browser to the utility process. 24 // These are messages from the browser to the utility process.
25 25
26 // Tells the utility process that it's running in batch mode. 26 // Tells the utility process that it's running in batch mode.
27 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) 27 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
28 28
29 // Tells the utility process that it can shutdown. 29 // Tells the utility process that it can shutdown.
30 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) 30 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698