| 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 <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // The handler of this message should always close all of the handles passed | 227 // The handler of this message should always close all of the handles passed |
| 228 // in, since some could be valid even in the error case. | 228 // in, since some could be valid even in the error case. |
| 229 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 229 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
| 230 ppapi::HostResource /* audio_id */, | 230 ppapi::HostResource /* audio_id */, |
| 231 int32_t /* result_code (will be != PP_OK on failure) */, | 231 int32_t /* result_code (will be != PP_OK on failure) */, |
| 232 IPC::PlatformFileForTransit /* socket_handle */, | 232 IPC::PlatformFileForTransit /* socket_handle */, |
| 233 base::SharedMemoryHandle /* handle */, | 233 base::SharedMemoryHandle /* handle */, |
| 234 int32_t /* length */) | 234 int32_t /* length */) |
| 235 | 235 |
| 236 // PPB_AudioInput_Dev. | 236 // PPB_AudioInput_Dev. |
| 237 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_NotifyAudioStreamCreated, | 237 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBAudioInput_EnumerateDevicesACK, |
| 238 ppapi::HostResource /* audio_id */, | 238 ppapi::HostResource /* audio_input */, |
| 239 int32_t /* result */, |
| 240 std::vector<ppapi::DeviceRefData> /* devices */) |
| 241 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudioInput_OpenACK, |
| 242 ppapi::HostResource /* audio_input */, |
| 239 int32_t /* result_code (will be != PP_OK on failure) */, | 243 int32_t /* result_code (will be != PP_OK on failure) */, |
| 240 IPC::PlatformFileForTransit /* socket_handle */, | 244 IPC::PlatformFileForTransit /* socket_handle */, |
| 241 base::SharedMemoryHandle /* handle */, | 245 base::SharedMemoryHandle /* handle */, |
| 242 int32_t /* length */) | 246 int32_t /* length */) |
| 243 | 247 |
| 244 // PPB_Broker. | 248 // PPB_Broker. |
| 245 IPC_MESSAGE_ROUTED3( | 249 IPC_MESSAGE_ROUTED3( |
| 246 PpapiMsg_PPBBroker_ConnectComplete, | 250 PpapiMsg_PPBBroker_ConnectComplete, |
| 247 ppapi::HostResource /* broker */, | 251 ppapi::HostResource /* broker */, |
| 248 IPC::PlatformFileForTransit /* handle */, | 252 IPC::PlatformFileForTransit /* handle */, |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 557 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
| 554 PP_Instance /* instance_id */, | 558 PP_Instance /* instance_id */, |
| 555 int32_t /* sample_rate */, | 559 int32_t /* sample_rate */, |
| 556 uint32_t /* sample_frame_count */, | 560 uint32_t /* sample_frame_count */, |
| 557 ppapi::HostResource /* result */) | 561 ppapi::HostResource /* result */) |
| 558 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 562 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
| 559 ppapi::HostResource /* audio_id */, | 563 ppapi::HostResource /* audio_id */, |
| 560 bool /* play */) | 564 bool /* play */) |
| 561 | 565 |
| 562 // PPB_AudioInput. | 566 // PPB_AudioInput. |
| 563 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudioInput_Create, | 567 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBAudioInput_Create, |
| 564 PP_Instance /* instance_id */, | 568 PP_Instance /* instance */, |
| 565 int32_t /* sample_rate */, | |
| 566 uint32_t /* sample_frame_count */, | |
| 567 ppapi::HostResource /* result */) | 569 ppapi::HostResource /* result */) |
| 570 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBAudioInput_EnumerateDevices, |
| 571 ppapi::HostResource /* audio_input */) |
| 572 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBAudioInput_Open, |
| 573 ppapi::HostResource /* audio_input */, |
| 574 std::string /* device_id */, |
| 575 int32_t /* sample_rate */, |
| 576 uint32_t /* sample_frame_count */) |
| 568 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudioInput_StartOrStop, | 577 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudioInput_StartOrStop, |
| 569 ppapi::HostResource /* audio_id */, | 578 ppapi::HostResource /* audio_input */, |
| 570 bool /* capture */) | 579 bool /* capture */) |
| 580 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBAudioInput_Close, |
| 581 ppapi::HostResource /* audio_input */) |
| 571 | 582 |
| 572 // PPB_Broker. | 583 // PPB_Broker. |
| 573 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, | 584 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
| 574 PP_Instance /* instance */, | 585 PP_Instance /* instance */, |
| 575 ppapi::HostResource /* result_resource */) | 586 ppapi::HostResource /* result_resource */) |
| 576 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, | 587 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
| 577 ppapi::HostResource /* broker */) | 588 ppapi::HostResource /* broker */) |
| 578 | 589 |
| 579 // PPB_Buffer. | 590 // PPB_Buffer. |
| 580 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 591 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1210 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1221 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1211 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1222 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1212 ppapi::HostResource /* video_decoder */, | 1223 ppapi::HostResource /* video_decoder */, |
| 1213 int32_t /* picture buffer id */) | 1224 int32_t /* picture buffer id */) |
| 1214 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1225 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1215 ppapi::HostResource /* video_decoder */) | 1226 ppapi::HostResource /* video_decoder */) |
| 1216 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1227 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1217 ppapi::HostResource /* video_decoder */) | 1228 ppapi::HostResource /* video_decoder */) |
| 1218 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1229 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1219 ppapi::HostResource /* video_decoder */) | 1230 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |