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

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

Issue 9425006: Make IPC_MESSAGE_EXPORT more robust. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « content/common/socket_stream_messages.h ('k') | ipc/ipc_message.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
11 #include "content/common/indexed_db/indexed_db_key.h" 12 #include "content/common/indexed_db/indexed_db_key.h"
12 #include "content/common/indexed_db/indexed_db_param_traits.h" 13 #include "content/common/indexed_db/indexed_db_param_traits.h"
13 #include "content/public/common/common_param_traits.h" 14 #include "content/public/common/common_param_traits.h"
14 #include "content/public/common/serialized_script_value.h" 15 #include "content/public/common/serialized_script_value.h"
15 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
16 #include "webkit/plugins/webplugininfo.h" 17 #include "webkit/plugins/webplugininfo.h"
17 18
19 #undef IPC_MESSAGE_EXPORT
20 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
18 #define IPC_MESSAGE_START UtilityMsgStart 21 #define IPC_MESSAGE_START UtilityMsgStart
19 22
20 //------------------------------------------------------------------------------ 23 //------------------------------------------------------------------------------
21 // Utility process messages: 24 // Utility process messages:
22 // These are messages from the browser to the utility process. 25 // These are messages from the browser to the utility process.
23 26
24 // Tell the utility process to extract the given IDBKeyPath from the 27 // Tell the utility process to extract the given IDBKeyPath from the
25 // SerializedScriptValue vector and reply with the corresponding IDBKeys. 28 // SerializedScriptValue vector and reply with the corresponding IDBKeys.
26 IPC_MESSAGE_CONTROL3(UtilityMsg_IDBKeysFromValuesAndKeyPath, 29 IPC_MESSAGE_CONTROL3(UtilityMsg_IDBKeysFromValuesAndKeyPath,
27 int, // id 30 int, // id
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // keep the canonical list in sync. 74 // keep the canonical list in sync.
72 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, 75 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed,
73 uint32_t /* index in the vector */, 76 uint32_t /* index in the vector */,
74 FilePath /* path of plugin */) 77 FilePath /* path of plugin */)
75 78
76 // Notifies the browser that a plugin in the vector sent by it has been loaded. 79 // Notifies the browser that a plugin in the vector sent by it has been loaded.
77 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin, 80 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin,
78 uint32_t /* index in the vector */, 81 uint32_t /* index in the vector */,
79 webkit::WebPluginInfo /* plugin info */) 82 webkit::WebPluginInfo /* plugin info */)
80 #endif // OS_POSIX 83 #endif // OS_POSIX
OLDNEW
« no previous file with comments | « content/common/socket_stream_messages.h ('k') | ipc/ipc_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698