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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 PP_Instance /* instance */, | 564 PP_Instance /* instance */, |
549 int /* mode */, | 565 int /* mode */, |
550 std::string /* accept_mime_types */, | 566 std::string /* accept_mime_types */, |
551 ppapi::HostResource /* result */) | 567 ppapi::HostResource /* result */) |
552 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, | 568 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, |
553 ppapi::HostResource /* file_chooser */, | 569 ppapi::HostResource /* file_chooser */, |
554 bool /* save_as */, | 570 bool /* save_as */, |
555 std::string /* suggested_file_name */, | 571 std::string /* suggested_file_name */, |
556 bool /* require_user_gesture */) | 572 bool /* require_user_gesture */) |
557 | 573 |
| 574 // PPB_FileIO. |
| 575 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileIO_Create, |
| 576 PP_Instance /* instance */, |
| 577 ppapi::HostResource /* result */) |
| 578 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Open, |
| 579 ppapi::HostResource /* host_resource */, |
| 580 ppapi::HostResource /* file_ref_resource */, |
| 581 int32_t /* open_flags */) |
| 582 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Close, |
| 583 ppapi::HostResource /* host_resource */) |
| 584 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Query, |
| 585 ppapi::HostResource /* host_resource */) |
| 586 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Touch, |
| 587 ppapi::HostResource /* host_resource */, |
| 588 PP_Time /* last_access_time */, |
| 589 PP_Time /* last_modified_time */) |
| 590 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Read, |
| 591 ppapi::HostResource /* host_resource */, |
| 592 int64_t /* offset */, |
| 593 int32_t /* bytes_to_read */) |
| 594 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_Write, |
| 595 ppapi::HostResource /* host_resource */, |
| 596 int64_t /* offset */, |
| 597 std::string /* data */) |
| 598 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileIO_SetLength, |
| 599 ppapi::HostResource /* host_resource */, |
| 600 int64_t /* length */) |
| 601 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileIO_Flush, |
| 602 ppapi::HostResource /* host_resource */) |
| 603 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileIO_WillWrite, |
| 604 ppapi::HostResource /* host_resource */, |
| 605 int64_t /* offset */, |
| 606 int32_t /* bytes_to_write */) |
| 607 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileIO_WillSetLength, |
| 608 ppapi::HostResource /* host_resource */, |
| 609 int64_t /* length */) |
| 610 |
558 // PPB_FileRef. | 611 // PPB_FileRef. |
559 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, | 612 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, |
560 ppapi::HostResource /* file_system */, | 613 ppapi::HostResource /* file_system */, |
561 std::string /* path */, | 614 std::string /* path */, |
562 ppapi::PPB_FileRef_CreateInfo /* result */) | 615 ppapi::PPB_FileRef_CreateInfo /* result */) |
563 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, | 616 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, |
564 ppapi::HostResource /* file_ref */, | 617 ppapi::HostResource /* file_ref */, |
565 ppapi::PPB_FileRef_CreateInfo /* result */) | 618 ppapi::PPB_FileRef_CreateInfo /* result */) |
566 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, | 619 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, |
567 ppapi::HostResource /* file_ref */, | 620 ppapi::HostResource /* file_ref */, |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1116 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1064 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1117 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1065 ppapi::HostResource /* video_decoder */, | 1118 ppapi::HostResource /* video_decoder */, |
1066 int32_t /* picture buffer id */) | 1119 int32_t /* picture buffer id */) |
1067 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1120 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1068 ppapi::HostResource /* video_decoder */) | 1121 ppapi::HostResource /* video_decoder */) |
1069 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1122 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1070 ppapi::HostResource /* video_decoder */) | 1123 ppapi::HostResource /* video_decoder */) |
1071 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1124 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1072 ppapi::HostResource /* video_decoder */) | 1125 ppapi::HostResource /* video_decoder */) |
OLD | NEW |