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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 #include <map> | 6 #include <map> |
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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
422 // The list of switches can be found in: | 422 // The list of switches can be found in: |
423 // components/nacl/browser/nacl_process_host.cc | 423 // components/nacl/browser/nacl_process_host.cc |
424 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) | 424 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) |
425 IPC_STRUCT_TRAITS_MEMBER(off_the_record) | 425 IPC_STRUCT_TRAITS_MEMBER(off_the_record) |
426 IPC_STRUCT_TRAITS_MEMBER(permissions) | 426 IPC_STRUCT_TRAITS_MEMBER(permissions) |
427 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) | 427 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) |
428 IPC_STRUCT_TRAITS_MEMBER(switch_names) | 428 IPC_STRUCT_TRAITS_MEMBER(switch_names) |
429 IPC_STRUCT_TRAITS_MEMBER(switch_values) | 429 IPC_STRUCT_TRAITS_MEMBER(switch_values) |
430 IPC_STRUCT_TRAITS_END() | 430 IPC_STRUCT_TRAITS_END() |
431 | 431 |
432 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::CompletedBrowserResourceHosts) | |
433 IPC_STRUCT_TRAITS_MEMBER(sequence_num) | |
Tom Sepez
2014/11/14 20:33:58
nit: some truly compulsive folks might want you to
dmichael (off chromium)
2014/11/17 22:26:20
I can sympathize. Changed.
| |
434 IPC_STRUCT_TRAITS_MEMBER(host_ids) | |
435 IPC_STRUCT_TRAITS_END() | |
436 | |
432 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 437 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
433 | 438 |
434 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) | 439 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) |
435 IPC_STRUCT_TRAITS_MEMBER(resource) | 440 IPC_STRUCT_TRAITS_MEMBER(resource) |
436 IPC_STRUCT_TRAITS_MEMBER(handle) | 441 IPC_STRUCT_TRAITS_MEMBER(handle) |
437 IPC_STRUCT_TRAITS_MEMBER(size) | 442 IPC_STRUCT_TRAITS_MEMBER(size) |
438 IPC_STRUCT_TRAITS_END() | 443 IPC_STRUCT_TRAITS_END() |
439 | 444 |
440 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 445 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
441 | 446 |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1329 int /* child_process_id */, | 1334 int /* child_process_id */, |
1330 ppapi::proxy::ResourceMessageCallParams /* params */, | 1335 ppapi::proxy::ResourceMessageCallParams /* params */, |
1331 PP_Instance /* instance */, | 1336 PP_Instance /* instance */, |
1332 std::vector<IPC::Message> /* nested_msgs */) | 1337 std::vector<IPC::Message> /* nested_msgs */) |
1333 | 1338 |
1334 // This message is sent from the browser to the renderer when it has created | 1339 // This message is sent from the browser to the renderer when it has created |
1335 // ResourceHosts for the renderer. It contains the sequence number that was sent | 1340 // ResourceHosts for the renderer. It contains the sequence number that was sent |
1336 // in the request and the IDs of the pending ResourceHosts which were created in | 1341 // in the request and the IDs of the pending ResourceHosts which were created in |
1337 // the browser. These IDs are only useful for the plugin which can attach to the | 1342 // the browser. These IDs are only useful for the plugin which can attach to the |
1338 // ResourceHosts in the browser. | 1343 // ResourceHosts in the browser. |
1339 IPC_MESSAGE_ROUTED2( | 1344 IPC_MESSAGE_ROUTED1( |
1340 PpapiHostMsg_CreateResourceHostsFromHostReply, | 1345 PpapiHostMsg_CreateResourceHostsFromHostReply, |
1341 int32_t /* sequence */, | 1346 ppapi::proxy::CompletedBrowserResourceHosts /* completed_hosts */) |
1342 std::vector<int> /* pending_host_ids */) | |
1343 | 1347 |
1344 //----------------------------------------------------------------------------- | 1348 //----------------------------------------------------------------------------- |
1345 // Messages for resources using call/reply above. | 1349 // Messages for resources using call/reply above. |
1346 | 1350 |
1347 // Broker ---------------------------------------------------------------------- | 1351 // Broker ---------------------------------------------------------------------- |
1348 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) | 1352 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) |
1349 | 1353 |
1350 // Queries whether the plugin has permission to connect to the Pepper broker. | 1354 // Queries whether the plugin has permission to connect to the Pepper broker. |
1351 // The response is contained in the error value of the | 1355 // The response is contained in the error value of the |
1352 // ResourceMessageReplyParams in the reply message. | 1356 // ResourceMessageReplyParams in the reply message. |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2274 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2278 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2275 PP_TalkPermission /* permission */) | 2279 PP_TalkPermission /* permission */) |
2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2280 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2277 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2281 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2282 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2279 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2283 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2280 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2284 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2281 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2285 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2282 | 2286 |
2283 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2287 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |