OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "ipc/ipc_message_macros.h" | 5 #include "ipc/ipc_message_macros.h" |
6 #include "ppapi/c/dev/pp_file_info_dev.h" | 6 #include "ppapi/c/dev/pp_file_info_dev.h" |
7 #include "ppapi/c/ppb_var.h" | 7 #include "ppapi/c/ppb_var.h" |
8 | 8 |
9 #define IPC_MESSAGE_START PpapiMsgStart | 9 #define IPC_MESSAGE_START PpapiMsgStart |
10 | 10 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 164 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
165 PP_Resource /* audio_id */, | 165 PP_Resource /* audio_id */, |
166 bool /* play */) | 166 bool /* play */) |
167 | 167 |
168 // PPB_AudioConfig. | 168 // PPB_AudioConfig. |
169 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create, | 169 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioConfig_Create, |
170 PP_Module /* module */, | 170 PP_Module /* module */, |
171 int32_t /* sample_rate */, | 171 int32_t /* sample_rate */, |
172 uint32_t /* sample_frame_count */, | 172 uint32_t /* sample_frame_count */, |
173 PP_Resource /* result */) | 173 PP_Resource /* result */) |
174 IPC_SYNC_MESSAGE_ROUTED1_1( | 174 IPC_SYNC_MESSAGE_ROUTED2_1( |
175 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, | 175 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, |
| 176 int32_t /* sample_rate */, |
176 uint32_t /* requested */, | 177 uint32_t /* requested */, |
177 uint32_t /* result */) | 178 uint32_t /* result */) |
178 | 179 |
179 // PPB_Buffer. | 180 // PPB_Buffer. |
180 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 181 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
181 PP_Module /* module */, | 182 PP_Module /* module */, |
182 uint32_t /* size */, | 183 uint32_t /* size */, |
183 PP_Resource /* result_resource */, | 184 PP_Resource /* result_resource */, |
184 int32_t /* result_shm_handle */) | 185 int32_t /* result_shm_handle */) |
185 | 186 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 524 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
524 pp::proxy::SerializedVar /* var */, | 525 pp::proxy::SerializedVar /* var */, |
525 int64 /* object_class */, | 526 int64 /* object_class */, |
526 int64 /* object-data */, | 527 int64 /* object-data */, |
527 PP_Bool /* result */) | 528 PP_Bool /* result */) |
528 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 529 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
529 PP_Module /* module */, | 530 PP_Module /* module */, |
530 int64 /* object_class */, | 531 int64 /* object_class */, |
531 int64 /* object_data */, | 532 int64 /* object_data */, |
532 pp::proxy::SerializedVar /* result */) | 533 pp::proxy::SerializedVar /* result */) |
OLD | NEW |