| 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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // | 76 // |
| 77 // The handler of this message should always close all of the handles passed | 77 // The handler of this message should always close all of the handles passed |
| 78 // in, since some could be valid even in the error case. | 78 // in, since some could be valid even in the error case. |
| 79 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, | 79 IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, |
| 80 pp::proxy::HostResource /* audio_id */, | 80 pp::proxy::HostResource /* audio_id */, |
| 81 int32_t /* result_code (will be != PP_OK on failure) */, | 81 int32_t /* result_code (will be != PP_OK on failure) */, |
| 82 IPC::PlatformFileForTransit /* socket_handle */, | 82 IPC::PlatformFileForTransit /* socket_handle */, |
| 83 base::SharedMemoryHandle /* handle */, | 83 base::SharedMemoryHandle /* handle */, |
| 84 int32_t /* length */) | 84 int32_t /* length */) |
| 85 | 85 |
| 86 // PPB_Broker. |
| 87 IPC_MESSAGE_ROUTED3( |
| 88 PpapiMsg_PPBBroker_ConnectComplete, |
| 89 pp::proxy::HostResource /* broker */, |
| 90 IPC::PlatformFileForTransit /* handle */, |
| 91 int32_t /* result */) |
| 92 |
| 86 // PPB_FileChooser. | 93 // PPB_FileChooser. |
| 87 IPC_MESSAGE_ROUTED3( | 94 IPC_MESSAGE_ROUTED3( |
| 88 PpapiMsg_PPBFileChooser_ChooseComplete, | 95 PpapiMsg_PPBFileChooser_ChooseComplete, |
| 89 pp::proxy::HostResource /* chooser */, | 96 pp::proxy::HostResource /* chooser */, |
| 90 int32_t /* result_code (will be != PP_OK on failure */, | 97 int32_t /* result_code (will be != PP_OK on failure */, |
| 91 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) | 98 std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */) |
| 92 | 99 |
| 93 // PPB_FileSystem. | 100 // PPB_FileSystem. |
| 94 IPC_MESSAGE_ROUTED2( | 101 IPC_MESSAGE_ROUTED2( |
| 95 PpapiMsg_PPBFileSystem_OpenComplete, | 102 PpapiMsg_PPBFileSystem_OpenComplete, |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 PP_Instance /* instance */, | 238 PP_Instance /* instance */, |
| 232 int32_t /* sample_rate */, | 239 int32_t /* sample_rate */, |
| 233 uint32_t /* sample_frame_count */, | 240 uint32_t /* sample_frame_count */, |
| 234 pp::proxy::HostResource /* result */) | 241 pp::proxy::HostResource /* result */) |
| 235 IPC_SYNC_MESSAGE_ROUTED2_1( | 242 IPC_SYNC_MESSAGE_ROUTED2_1( |
| 236 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, | 243 PpapiHostMsg_PPBAudioConfig_RecommendSampleFrameCount, |
| 237 int32_t /* sample_rate */, | 244 int32_t /* sample_rate */, |
| 238 uint32_t /* requested */, | 245 uint32_t /* requested */, |
| 239 uint32_t /* result */) | 246 uint32_t /* result */) |
| 240 | 247 |
| 248 // PPB_Broker. |
| 249 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBBroker_Create, |
| 250 PP_Instance /* instance */, |
| 251 pp::proxy::HostResource /* result_resource */) |
| 252 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBBroker_Connect, |
| 253 pp::proxy::HostResource /* broker */) |
| 254 |
| 241 // PPB_Buffer. | 255 // PPB_Buffer. |
| 242 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, | 256 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, |
| 243 PP_Instance /* instance */, | 257 PP_Instance /* instance */, |
| 244 uint32_t /* size */, | 258 uint32_t /* size */, |
| 245 pp::proxy::HostResource /* result_resource */, | 259 pp::proxy::HostResource /* result_resource */, |
| 246 int32_t /* result_shm_handle */) | 260 int32_t /* result_shm_handle */) |
| 247 | 261 |
| 248 // PPB_Console. | 262 // PPB_Console. |
| 249 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log, | 263 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBConsole_Log, |
| 250 PP_Instance /* instance */, | 264 PP_Instance /* instance */, |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, | 763 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBVar_IsInstanceOfDeprecated, |
| 750 pp::proxy::SerializedVar /* var */, | 764 pp::proxy::SerializedVar /* var */, |
| 751 int64 /* object_class */, | 765 int64 /* object_class */, |
| 752 int64 /* object-data */, | 766 int64 /* object-data */, |
| 753 PP_Bool /* result */) | 767 PP_Bool /* result */) |
| 754 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, | 768 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVar_CreateObjectDeprecated, |
| 755 PP_Instance /* instance */, | 769 PP_Instance /* instance */, |
| 756 int64 /* object_class */, | 770 int64 /* object_class */, |
| 757 int64 /* object_data */, | 771 int64 /* object_data */, |
| 758 pp::proxy::SerializedVar /* result */) | 772 pp::proxy::SerializedVar /* result */) |
| OLD | NEW |