OLD | NEW |
---|---|
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" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 int /* id */) | 62 int /* id */) |
63 | 63 |
64 // Reply when the utility process has finished injecting an IDBKey into | 64 // Reply when the utility process has finished injecting an IDBKey into |
65 // a SerializedScriptValue. | 65 // a SerializedScriptValue. |
66 IPC_MESSAGE_CONTROL1(UtilityHostMsg_InjectIDBKey_Finished, | 66 IPC_MESSAGE_CONTROL1(UtilityHostMsg_InjectIDBKey_Finished, |
67 content::SerializedScriptValue /* new value */) | 67 content::SerializedScriptValue /* new value */) |
68 | 68 |
69 #if defined(OS_POSIX) | 69 #if defined(OS_POSIX) |
70 // Notifies the browser when a plugin failed to load so the two processes can | 70 // Notifies the browser when a plugin failed to load so the two processes can |
71 // keep the canonical list in sync. | 71 // keep the canonical list in sync. |
72 IPC_SYNC_MESSAGE_CONTROL1_0(UtilityHostMsg_LoadPluginFailed, | 72 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadPluginFailed, |
73 size_t /* index in the vector */, | |
jam
2011/11/02 16:09:29
here and below, it's slightly better to send int i
Bernhard Bauer
2011/11/02 16:13:47
Oooh. Out of curiosity, what would be necessary to
Robert Sesek
2011/11/02 16:26:28
Done. Used uint32_t because I'm comparing against
| |
73 FilePath /* path of plugin */) | 74 FilePath /* path of plugin */) |
74 | 75 |
75 // Notifies the browser that a plugin in the vector sent by it has been loaded. | 76 // Notifies the browser that a plugin in the vector sent by it has been loaded. |
76 IPC_SYNC_MESSAGE_CONTROL1_0(UtilityHostMsg_LoadedPlugin, | 77 IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin, |
78 size_t /* index in the vector */, | |
77 webkit::WebPluginInfo /* plugin info */) | 79 webkit::WebPluginInfo /* plugin info */) |
78 #endif // OS_POSIX | 80 #endif // OS_POSIX |
OLD | NEW |