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

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: rebase 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
« no previous file with comments | « content/common/sandbox_init_mac.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
8
9 #include <string>
10 #include <vector>
11
12 #include "build/build_config.h"
13 #include "content/common/content_export.h" 7 #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" 8 #include "ipc/ipc_message_macros.h"
17 9
18 #undef IPC_MESSAGE_EXPORT 10 #undef IPC_MESSAGE_EXPORT
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 11 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
20 #define IPC_MESSAGE_START UtilityMsgStart 12 #define IPC_MESSAGE_START UtilityMsgStart
21 13
22 //------------------------------------------------------------------------------ 14 //------------------------------------------------------------------------------
23 // Utility process messages: 15 // Utility process messages:
24 // These are messages from the browser to the utility process. 16 // These are messages from the browser to the utility process.
25 17
26 // Tells the utility process that it's running in batch mode. 18 // Tells the utility process that it's running in batch mode.
27 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started) 19 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
28 20
29 // Tells the utility process that it can shutdown. 21 // Tells the utility process that it can shutdown.
30 IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished) 22 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
« no previous file with comments | « content/common/sandbox_init_mac.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698