| 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/proxy/ppapi_param_traits.h" | 29 #include "ppapi/proxy/ppapi_param_traits.h" |
| 30 #include "ppapi/proxy/serialized_flash_menu.h" | 30 #include "ppapi/proxy/serialized_flash_menu.h" |
| 31 #include "ppapi/proxy/serialized_structs.h" | 31 #include "ppapi/proxy/serialized_structs.h" |
| 32 #include "ppapi/shared_impl/ppapi_preferences.h" | 32 #include "ppapi/shared_impl/ppapi_preferences.h" |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 pp::proxy::SerializedVar /* text */) | 467 pp::proxy::SerializedVar /* text */) |
| 468 | 468 |
| 469 // PPB_Flash_File_FileRef. | 469 // PPB_Flash_File_FileRef. |
| 470 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, | 470 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_FileRef_OpenFile, |
| 471 pp::proxy::HostResource /* file_ref */, | 471 pp::proxy::HostResource /* file_ref */, |
| 472 int32_t /* mode */, | 472 int32_t /* mode */, |
| 473 IPC::PlatformFileForTransit /* file_handle */, | 473 IPC::PlatformFileForTransit /* file_handle */, |
| 474 int32_t /* result */) | 474 int32_t /* result */) |
| 475 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, | 475 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBFlashFile_FileRef_QueryFile, |
| 476 pp::proxy::HostResource /* file_ref */, | 476 pp::proxy::HostResource /* file_ref */, |
| 477 PP_FileInfo_Dev /* info */, | 477 PP_FileInfo /* info */, |
| 478 int32_t /* result */) | 478 int32_t /* result */) |
| 479 | 479 |
| 480 // PPB_Flash_File_ModuleLocal. | 480 // PPB_Flash_File_ModuleLocal. |
| 481 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_OpenFile, | 481 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_OpenFile, |
| 482 PP_Instance /* instance */, | 482 PP_Instance /* instance */, |
| 483 std::string /* path */, | 483 std::string /* path */, |
| 484 int32_t /* mode */, | 484 int32_t /* mode */, |
| 485 IPC::PlatformFileForTransit /* file_handle */, | 485 IPC::PlatformFileForTransit /* file_handle */, |
| 486 int32_t /* result */) | 486 int32_t /* result */) |
| 487 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_RenameFile, | 487 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_RenameFile, |
| 488 PP_Instance /* instance */, | 488 PP_Instance /* instance */, |
| 489 std::string /* path_from */, | 489 std::string /* path_from */, |
| 490 std::string /* path_to */, | 490 std::string /* path_to */, |
| 491 int32_t /* result */) | 491 int32_t /* result */) |
| 492 IPC_SYNC_MESSAGE_ROUTED3_1( | 492 IPC_SYNC_MESSAGE_ROUTED3_1( |
| 493 PpapiHostMsg_PPBFlashFile_ModuleLocal_DeleteFileOrDir, | 493 PpapiHostMsg_PPBFlashFile_ModuleLocal_DeleteFileOrDir, |
| 494 PP_Instance /* instance */, | 494 PP_Instance /* instance */, |
| 495 std::string /* path */, | 495 std::string /* path */, |
| 496 PP_Bool /* recursive */, | 496 PP_Bool /* recursive */, |
| 497 int32_t /* result */) | 497 int32_t /* result */) |
| 498 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_CreateDir, | 498 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashFile_ModuleLocal_CreateDir, |
| 499 PP_Instance /* instance */, | 499 PP_Instance /* instance */, |
| 500 std::string /* path */, | 500 std::string /* path */, |
| 501 int32_t /* result */) | 501 int32_t /* result */) |
| 502 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_QueryFile, | 502 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBFlashFile_ModuleLocal_QueryFile, |
| 503 PP_Instance /* instance */, | 503 PP_Instance /* instance */, |
| 504 std::string /* path */, | 504 std::string /* path */, |
| 505 PP_FileInfo_Dev /* info */, | 505 PP_FileInfo /* info */, |
| 506 int32_t /* result */) | 506 int32_t /* result */) |
| 507 IPC_SYNC_MESSAGE_ROUTED2_2( | 507 IPC_SYNC_MESSAGE_ROUTED2_2( |
| 508 PpapiHostMsg_PPBFlashFile_ModuleLocal_GetDirContents, | 508 PpapiHostMsg_PPBFlashFile_ModuleLocal_GetDirContents, |
| 509 PP_Instance /* instance */, | 509 PP_Instance /* instance */, |
| 510 std::string /* path */, | 510 std::string /* path */, |
| 511 std::vector<pp::proxy::SerializedDirEntry> /* entries */, | 511 std::vector<pp::proxy::SerializedDirEntry> /* entries */, |
| 512 int32_t /* result */) | 512 int32_t /* result */) |
| 513 | 513 |
| 514 // PPB_Flash_Menu | 514 // PPB_Flash_Menu |
| 515 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, | 515 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 PP_Bool /* is_always_opaque */, | 764 PP_Bool /* is_always_opaque */, |
| 765 pp::proxy::HostResource /* result */) | 765 pp::proxy::HostResource /* result */) |
| 766 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, | 766 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_ResourceCreation_ImageData, |
| 767 PP_Instance /* instance */, | 767 PP_Instance /* instance */, |
| 768 int32 /* format */, | 768 int32 /* format */, |
| 769 PP_Size /* size */, | 769 PP_Size /* size */, |
| 770 PP_Bool /* init_to_zero */, | 770 PP_Bool /* init_to_zero */, |
| 771 pp::proxy::HostResource /* result_resource */, | 771 pp::proxy::HostResource /* result_resource */, |
| 772 std::string /* image_data_desc */, | 772 std::string /* image_data_desc */, |
| 773 pp::proxy::ImageHandle /* result */) | 773 pp::proxy::ImageHandle /* result */) |
| OLD | NEW |