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 | |
257 // PPB_FileRef. | 241 // PPB_FileRef. |
258 IPC_MESSAGE_ROUTED3( | 242 IPC_MESSAGE_ROUTED3( |
259 PpapiMsg_PPBFileRef_CallbackComplete, | 243 PpapiMsg_PPBFileRef_CallbackComplete, |
260 ppapi::HostResource /* resource */, | 244 ppapi::HostResource /* resource */, |
261 int /* callback_id */, | 245 int /* callback_id */, |
262 int32_t /* result */) | 246 int32_t /* result */) |
263 | 247 |
264 // PPB_FileSystem. | 248 // PPB_FileSystem. |
265 IPC_MESSAGE_ROUTED2( | 249 IPC_MESSAGE_ROUTED2( |
266 PpapiMsg_PPBFileSystem_OpenComplete, | 250 PpapiMsg_PPBFileSystem_OpenComplete, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 PP_Instance /* instance */, | 548 PP_Instance /* instance */, |
565 int /* mode */, | 549 int /* mode */, |
566 std::string /* accept_mime_types */, | 550 std::string /* accept_mime_types */, |
567 ppapi::HostResource /* result */) | 551 ppapi::HostResource /* result */) |
568 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, | 552 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, |
569 ppapi::HostResource /* file_chooser */, | 553 ppapi::HostResource /* file_chooser */, |
570 bool /* save_as */, | 554 bool /* save_as */, |
571 std::string /* suggested_file_name */, | 555 std::string /* suggested_file_name */, |
572 bool /* require_user_gesture */) | 556 bool /* require_user_gesture */) |
573 | 557 |
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 | |
611 // PPB_FileRef. | 558 // PPB_FileRef. |
612 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, | 559 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, |
613 ppapi::HostResource /* file_system */, | 560 ppapi::HostResource /* file_system */, |
614 std::string /* path */, | 561 std::string /* path */, |
615 ppapi::PPB_FileRef_CreateInfo /* result */) | 562 ppapi::PPB_FileRef_CreateInfo /* result */) |
616 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, | 563 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, |
617 ppapi::HostResource /* file_ref */, | 564 ppapi::HostResource /* file_ref */, |
618 ppapi::PPB_FileRef_CreateInfo /* result */) | 565 ppapi::PPB_FileRef_CreateInfo /* result */) |
619 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, | 566 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, |
620 ppapi::HostResource /* file_ref */, | 567 ppapi::HostResource /* file_ref */, |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1063 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1117 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1064 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1118 ppapi::HostResource /* video_decoder */, | 1065 ppapi::HostResource /* video_decoder */, |
1119 int32_t /* picture buffer id */) | 1066 int32_t /* picture buffer id */) |
1120 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1067 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1121 ppapi::HostResource /* video_decoder */) | 1068 ppapi::HostResource /* video_decoder */) |
1122 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1069 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1123 ppapi::HostResource /* video_decoder */) | 1070 ppapi::HostResource /* video_decoder */) |
1124 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1071 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1125 ppapi::HostResource /* video_decoder */) | 1072 ppapi::HostResource /* video_decoder */) |
OLD | NEW |