| 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" |
| 11 #include "base/process.h" | 11 #include "base/process.h" |
| 12 #include "base/shared_memory.h" | 12 #include "base/shared_memory.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/sync_socket.h" | 14 #include "base/sync_socket.h" |
| 15 #include "gpu/command_buffer/common/command_buffer.h" | 15 #include "gpu/command_buffer/common/command_buffer.h" |
| 16 #include "gpu/ipc/gpu_command_buffer_traits.h" | 16 #include "gpu/ipc/gpu_command_buffer_traits.h" |
| 17 #include "ipc/ipc_channel_handle.h" | 17 #include "ipc/ipc_channel_handle.h" |
| 18 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
| 19 #include "ipc/ipc_message_utils.h" | 19 #include "ipc/ipc_message_utils.h" |
| 20 #include "ipc/ipc_platform_file.h" | 20 #include "ipc/ipc_platform_file.h" |
| 21 #include "ppapi/c/dev/pp_file_info_dev.h" | |
| 22 #include "ppapi/c/pp_bool.h" | 21 #include "ppapi/c/pp_bool.h" |
| 22 #include "ppapi/c/pp_file_info.h" |
| 23 #include "ppapi/c/pp_instance.h" | 23 #include "ppapi/c/pp_instance.h" |
| 24 #include "ppapi/c/pp_module.h" | 24 #include "ppapi/c/pp_module.h" |
| 25 #include "ppapi/c/pp_point.h" | 25 #include "ppapi/c/pp_point.h" |
| 26 #include "ppapi/c/pp_rect.h" | 26 #include "ppapi/c/pp_rect.h" |
| 27 #include "ppapi/c/pp_resource.h" | 27 #include "ppapi/c/pp_resource.h" |
| 28 #include "ppapi/c/pp_size.h" | 28 #include "ppapi/c/pp_size.h" |
| 29 #include "ppapi/c/private/ppb_flash_tcp_socket.h" | 29 #include "ppapi/c/private/ppb_flash_tcp_socket.h" |
| 30 #include "ppapi/proxy/ppapi_param_traits.h" | 30 #include "ppapi/proxy/ppapi_param_traits.h" |
| 31 #include "ppapi/proxy/serialized_flash_menu.h" | 31 #include "ppapi/proxy/serialized_flash_menu.h" |
| 32 #include "ppapi/proxy/serialized_structs.h" | 32 #include "ppapi/proxy/serialized_structs.h" |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 pp::proxy::SerializedVar /* text */) | 486 pp::proxy::SerializedVar /* text */) |
| 487 | 487 |
| 488 // PPB_Flash_File_FileRef. | 488 // PPB_Flash_File_FileRef. |
| 489 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, | 489 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, |
| 490 pp::proxy::HostResource /* file_ref */, | 490 pp::proxy::HostResource /* file_ref */, |
| 491 int32_t /* mode */, | 491 int32_t /* mode */, |
| 492 IPC::PlatformFileForTransit /* file_handle */, | 492 IPC::PlatformFileForTransit /* file_handle */, |
| 493 int32_t /* result */) | 493 int32_t /* result */) |
| 494 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, | 494 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, |
| 495 pp::proxy::HostResource /* file_ref */, | 495 pp::proxy::HostResource /* file_ref */, |
| 496 PP_FileInfo_Dev /* info */, | 496 PP_FileInfo /* info */, |
| 497 int32_t /* result */) | 497 int32_t /* result */) |
| 498 | 498 |
| 499 // PPB_Flash_File_ModuleLocal. | 499 // PPB_Flash_File_ModuleLocal. |
| 500 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_OpenFile, | 500 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_OpenFile, |
| 501 PP_Instance /* instance */, | 501 PP_Instance /* instance */, |
| 502 std::string /* path */, | 502 std::string /* path */, |
| 503 int32_t /* mode */, | 503 int32_t /* mode */, |
| 504 IPC::PlatformFileForTransit /* file_handle */, | 504 IPC::PlatformFileForTransit /* file_handle */, |
| 505 int32_t /* result */) | 505 int32_t /* result */) |
| 506 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_RenameFile, | 506 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_RenameFile, |
| 507 PP_Instance /* instance */, | 507 PP_Instance /* instance */, |
| 508 std::string /* path_from */, | 508 std::string /* path_from */, |
| 509 std::string /* path_to */, | 509 std::string /* path_to */, |
| 510 int32_t /* result */) | 510 int32_t /* result */) |
| 511 IPC_SYNC_MESSAGE_ROUTED3_1( | 511 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 512 PpapiHostMsg_PPBFlashFile_ModuleLocal_DeleteFileOrDir, | 512 PpapiHostMsg_PPBFlashFile_ModuleLocal_DeleteFileOrDir, |
| 513 PP_Instance /* instance */, | 513 PP_Instance /* instance */, |
| 514 std::string /* path */, | 514 std::string /* path */, |
| 515 PP_Bool /* recursive */, | 515 PP_Bool /* recursive */, |
| 516 int32_t /* result */) | 516 int32_t /* result */) |
| 517 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_CreateDir, | 517 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_CreateDir, |
| 518 PP_Instance /* instance */, | 518 PP_Instance /* instance */, |
| 519 std::string /* path */, | 519 std::string /* path */, |
| 520 int32_t /* result */) | 520 int32_t /* result */) |
| 521 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_QueryFile, | 521 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_QueryFile, |
| 522 PP_Instance /* instance */, | 522 PP_Instance /* instance */, |
| 523 std::string /* path */, | 523 std::string /* path */, |
| 524 PP_FileInfo_Dev /* info */, | 524 PP_FileInfo /* info */, |
| 525 int32_t /* result */) | 525 int32_t /* result */) |
| 526 IPC_SYNC_MESSAGE_ROUTED2_2( | 526 IPC_SYNC_MESSAGE_ROUTED2_2( |
| 527 PpapiHostMsg_PPBFlashFile_ModuleLocal_GetDirContents, | 527 PpapiHostMsg_PPBFlashFile_ModuleLocal_GetDirContents, |
| 528 PP_Instance /* instance */, | 528 PP_Instance /* instance */, |
| 529 std::string /* path */, | 529 std::string /* path */, |
| 530 std::vector<pp::proxy::SerializedDirEntry> /* entries */, | 530 std::vector<pp::proxy::SerializedDirEntry> /* entries */, |
| 531 int32_t /* result */) | 531 int32_t /* result */) |
| 532 | 532 |
| 533 // PPB_Flash_Menu | 533 // PPB_Flash_Menu |
| 534 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, | 534 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 PP_Bool /* is_always_opaque */, | 804 PP_Bool /* is_always_opaque */, |
| 805 pp::proxy::HostResource /* result */) | 805 pp::proxy::HostResource /* result */) |
| 806 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, | 806 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, |
| 807 PP_Instance /* instance */, | 807 PP_Instance /* instance */, |
| 808 int32 /* format */, | 808 int32 /* format */, |
| 809 PP_Size /* size */, | 809 PP_Size /* size */, |
| 810 PP_Bool /* init_to_zero */, | 810 PP_Bool /* init_to_zero */, |
| 811 pp::proxy::HostResource /* result_resource */, | 811 pp::proxy::HostResource /* result_resource */, |
| 812 std::string /* image_data_desc */, | 812 std::string /* image_data_desc */, |
| 813 pp::proxy::ImageHandle /* result */) | 813 pp::proxy::ImageHandle /* result */) |
| OLD | NEW |