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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 IPC::PlatformFileForTransit /* handle */, | 231 IPC::PlatformFileForTransit /* handle */, |
232 int32_t /* result */) | 232 int32_t /* result */) |
233 | 233 |
234 // PPB_FileChooser. | 234 // PPB_FileChooser. |
235 IPC_MESSAGE_ROUTED3( | 235 IPC_MESSAGE_ROUTED3( |
236 PpapiMsg_PPBFileChooser_ChooseComplete, | 236 PpapiMsg_PPBFileChooser_ChooseComplete, |
237 ppapi::HostResource /* chooser */, | 237 ppapi::HostResource /* chooser */, |
238 int32_t /* result_code (will be != PP_OK on failure */, | 238 int32_t /* result_code (will be != PP_OK on failure */, |
239 std::vector<ppapi::PPB_FileRef_CreateInfo> /* chosen_files */) | 239 std::vector<ppapi::PPB_FileRef_CreateInfo> /* chosen_files */) |
240 | 240 |
| 241 // PPB_FileIO. |
| 242 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_GeneralComplete, |
| 243 ppapi::HostResource /* file_io */, |
| 244 int32_t /* result */) |
| 245 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBFileIO_OpenFileComplete, |
| 246 ppapi::HostResource /* file_io */, |
| 247 int32_t /* result */) |
| 248 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_QueryComplete, |
| 249 ppapi::HostResource /* file_io */, |
| 250 int32_t /* result */, |
| 251 PP_FileInfo /* info */) |
| 252 IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFileIO_ReadComplete, |
| 253 ppapi::HostResource /* file_io */, |
| 254 int32_t /* result */, |
| 255 std::string /* data */) |
| 256 |
241 // PPB_FileRef. | 257 // PPB_FileRef. |
242 IPC_MESSAGE_ROUTED3( | 258 IPC_MESSAGE_ROUTED3( |
243 PpapiMsg_PPBFileRef_CallbackComplete, | 259 PpapiMsg_PPBFileRef_CallbackComplete, |
244 ppapi::HostResource /* resource */, | 260 ppapi::HostResource /* resource */, |
245 int /* callback_id */, | 261 int /* callback_id */, |
246 int32_t /* result */) | 262 int32_t /* result */) |
247 | 263 |
248 // PPB_FileSystem. | 264 // PPB_FileSystem. |
249 IPC_MESSAGE_ROUTED2( | 265 IPC_MESSAGE_ROUTED2( |
250 PpapiMsg_PPBFileSystem_OpenComplete, | 266 PpapiMsg_PPBFileSystem_OpenComplete, |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 PP_Instance /* instance */, | 616 PP_Instance /* instance */, |
601 int /* mode */, | 617 int /* mode */, |
602 std::string /* accept_mime_types */, | 618 std::string /* accept_mime_types */, |
603 ppapi::HostResource /* result */) | 619 ppapi::HostResource /* result */) |
604 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, | 620 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, |
605 ppapi::HostResource /* file_chooser */, | 621 ppapi::HostResource /* file_chooser */, |
606 bool /* save_as */, | 622 bool /* save_as */, |
607 std::string /* suggested_file_name */, | 623 std::string /* suggested_file_name */, |
608 bool /* require_user_gesture */) | 624 bool /* require_user_gesture */) |
609 | 625 |
| 626 // PPB_FileIO. |
| 627 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileIO_Create, |
| 628 PP_Instance /* instance */, |
| 629 ppapi::HostResource /* result */) |
| 630 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Open, |
| 631 ppapi::HostResource /* host_resource */, |
| 632 ppapi::HostResource /* file_ref_resource */, |
| 633 int32_t /* open_flags */) |
| 634 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Close, |
| 635 ppapi::HostResource /* host_resource */) |
| 636 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Query, |
| 637 ppapi::HostResource /* host_resource */) |
| 638 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Touch, |
| 639 ppapi::HostResource /* host_resource */, |
| 640 PP_Time /* last_access_time */, |
| 641 PP_Time /* last_modified_time */) |
| 642 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Read, |
| 643 ppapi::HostResource /* host_resource */, |
| 644 int64_t /* offset */, |
| 645 int32_t /* bytes_to_read */) |
| 646 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Write, |
| 647 ppapi::HostResource /* host_resource */, |
| 648 int64_t /* offset */, |
| 649 std::string /* data */) |
| 650 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileIO_SetLength, |
| 651 ppapi::HostResource /* host_resource */, |
| 652 int64_t /* length */) |
| 653 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Flush, |
| 654 ppapi::HostResource /* host_resource */) |
| 655 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_WillWrite, |
| 656 ppapi::HostResource /* host_resource */, |
| 657 int64_t /* offset */, |
| 658 int32_t /* bytes_to_write */) |
| 659 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileIO_WillSetLength, |
| 660 ppapi::HostResource /* host_resource */, |
| 661 int64_t /* length */) |
| 662 |
610 // PPB_FileRef. | 663 // PPB_FileRef. |
611 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, | 664 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, |
612 ppapi::HostResource /* file_system */, | 665 ppapi::HostResource /* file_system */, |
613 std::string /* path */, | 666 std::string /* path */, |
614 ppapi::PPB_FileRef_CreateInfo /* result */) | 667 ppapi::PPB_FileRef_CreateInfo /* result */) |
615 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, | 668 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, |
616 ppapi::HostResource /* file_ref */, | 669 ppapi::HostResource /* file_ref */, |
617 ppapi::PPB_FileRef_CreateInfo /* result */) | 670 ppapi::PPB_FileRef_CreateInfo /* result */) |
618 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, | 671 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, |
619 ppapi::HostResource /* file_ref */, | 672 ppapi::HostResource /* file_ref */, |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1181 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1129 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1182 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1130 ppapi::HostResource /* video_decoder */, | 1183 ppapi::HostResource /* video_decoder */, |
1131 int32_t /* picture buffer id */) | 1184 int32_t /* picture buffer id */) |
1132 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1185 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1133 ppapi::HostResource /* video_decoder */) | 1186 ppapi::HostResource /* video_decoder */) |
1134 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1187 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1135 ppapi::HostResource /* video_decoder */) | 1188 ppapi::HostResource /* video_decoder */) |
1136 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1189 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1137 ppapi::HostResource /* video_decoder */) | 1190 ppapi::HostResource /* video_decoder */) |
OLD | NEW |