Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/shared_memory.h" 12 #include "base/memory/shared_memory.h"
13 #include "base/process/process.h" 13 #include "base/process/process.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/sync_socket.h" 15 #include "base/sync_socket.h"
16 #include "gpu/command_buffer/common/command_buffer.h" 16 #include "gpu/command_buffer/common/command_buffer.h"
17 #include "gpu/command_buffer/common/mailbox.h" 17 #include "gpu/command_buffer/common/mailbox.h"
18 #include "gpu/ipc/gpu_command_buffer_traits.h" 18 #include "gpu/ipc/gpu_command_buffer_traits.h"
19 #include "ipc/ipc_channel_handle.h" 19 #include "ipc/ipc_channel_handle.h"
20 #include "ipc/ipc_message_macros.h" 20 #include "ipc/ipc_message_macros.h"
21 #include "ipc/ipc_message_utils.h" 21 #include "ipc/ipc_message_utils.h"
22 #include "ipc/ipc_platform_file.h" 22 #include "ipc/ipc_platform_file.h"
23 #include "ppapi/c/dev/pp_video_capture_dev.h" 23 #include "ppapi/c/dev/pp_video_capture_dev.h"
24 #include "ppapi/c/dev/pp_video_dev.h" 24 #include "ppapi/c/dev/pp_video_dev.h"
25 #include "ppapi/c/dev/ppb_filesystemprovider_dev.h"
25 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 26 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
26 #include "ppapi/c/dev/ppb_url_util_dev.h" 27 #include "ppapi/c/dev/ppb_url_util_dev.h"
27 #include "ppapi/c/dev/ppp_printing_dev.h" 28 #include "ppapi/c/dev/ppp_printing_dev.h"
28 #include "ppapi/c/pp_bool.h" 29 #include "ppapi/c/pp_bool.h"
29 #include "ppapi/c/pp_codecs.h" 30 #include "ppapi/c/pp_codecs.h"
30 #include "ppapi/c/pp_file_info.h" 31 #include "ppapi/c/pp_file_info.h"
31 #include "ppapi/c/pp_instance.h" 32 #include "ppapi/c/pp_instance.h"
32 #include "ppapi/c/pp_module.h" 33 #include "ppapi/c/pp_module.h"
33 #include "ppapi/c/pp_point.h" 34 #include "ppapi/c/pp_point.h"
34 #include "ppapi/c/pp_rect.h" 35 #include "ppapi/c/pp_rect.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 IPC_ENUM_TRAITS(PP_ImageDataFormat) 104 IPC_ENUM_TRAITS(PP_ImageDataFormat)
104 IPC_ENUM_TRAITS_MAX_VALUE(PP_InitDataType, PP_INITDATATYPE_WEBM) 105 IPC_ENUM_TRAITS_MAX_VALUE(PP_InitDataType, PP_INITDATATYPE_WEBM)
105 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 106 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
106 IPC_ENUM_TRAITS(PP_InputEvent_Type) 107 IPC_ENUM_TRAITS(PP_InputEvent_Type)
107 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private, 108 IPC_ENUM_TRAITS_MAX_VALUE(PP_IsolatedFileSystemType_Private,
108 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE) 109 PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_PLUGINPRIVATE)
109 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private, 110 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetAddressFamily_Private,
110 PP_NETADDRESSFAMILY_PRIVATE_IPV6) 111 PP_NETADDRESSFAMILY_PRIVATE_IPV6)
111 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP) 112 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_State, PP_NETWORKLIST_STATE_UP)
112 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR) 113 IPC_ENUM_TRAITS_MAX_VALUE(PP_NetworkList_Type, PP_NETWORKLIST_TYPE_CELLULAR)
114 IPC_ENUM_TRAITS_MAX_VALUE(PP_OperationType_Dev,PP_OperationType_REMOVEWATCHER)
113 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) 115 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev)
114 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) 116 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev)
115 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) 117 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev)
116 IPC_ENUM_TRAITS_MAX_VALUE(PP_PrivateDuplexMode_Dev, PP_PRIVATEDUPLEXMODE_LAST) 118 IPC_ENUM_TRAITS_MAX_VALUE(PP_PrivateDuplexMode_Dev, PP_PRIVATEDUPLEXMODE_LAST)
117 IPC_ENUM_TRAITS(PP_PrivateFontCharset) 119 IPC_ENUM_TRAITS(PP_PrivateFontCharset)
118 IPC_ENUM_TRAITS(PP_ResourceString) 120 IPC_ENUM_TRAITS(PP_ResourceString)
119 IPC_ENUM_TRAITS_MAX_VALUE(PP_SessionType, PP_SESSIONTYPE_PERSISTENT_RELEASE) 121 IPC_ENUM_TRAITS_MAX_VALUE(PP_SessionType, PP_SESSIONTYPE_PERSISTENT_RELEASE)
120 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option, 122 IPC_ENUM_TRAITS_MAX_VALUE(PP_TCPSocket_Option,
121 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE) 123 PP_TCPSOCKET_OPTION_RECV_BUFFER_SIZE)
122 IPC_ENUM_TRAITS(PP_TextInput_Type) 124 IPC_ENUM_TRAITS(PP_TextInput_Type)
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1434 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1433 PP_Time /* last_access_time */, 1435 PP_Time /* last_access_time */,
1434 PP_Time /* last_modified_time */) 1436 PP_Time /* last_modified_time */)
1435 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength, 1437 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength,
1436 int64_t /* length */) 1438 int64_t /* length */)
1437 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush) 1439 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush)
1438 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_RequestOSFileHandle) 1440 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_RequestOSFileHandle)
1439 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_RequestOSFileHandleReply) 1441 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_RequestOSFileHandleReply)
1440 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_GeneralReply) 1442 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_GeneralReply)
1441 1443
1444
1445 // Filesystem provider
1446 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FilesystemProvider_Create)
1447 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FilesystemProvider_Mount,
1448 base::ListValue /*request*/)
1449 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FilesystemProvider_MountReply)
1450 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FilesystemProvider_Unmount,
1451 std::string /*file system id*/)
1452 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FilesystemProvider_UnmountReply)
1453 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FilesystemProvider_OperationRequest,
1454 PP_OperationType_Dev/*operation_type*/,
1455 base::ListValue/*operation args*/)
1456 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FilesystemProvider_OperationResponse,
1457 base::ListValue/*operation response*/)
1458 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FilesystemProvider_Notify,
1459 base::ListValue/*change notification*/)
1460 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FilesystemProvider_WriteAck)
1461 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FilesystemProvider_ReadAck)
1462 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FilesystemProvider_Buffers,
1463 uint32_t/*size of read region*/,
1464 uint32_t/*size of write region*/)
1442 // FileRef 1465 // FileRef
1443 // Creates a FileRef to a path on an external file system. This message may 1466 // Creates a FileRef to a path on an external file system. This message may
1444 // only be sent from the renderer. 1467 // only be sent from the renderer.
1445 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileRef_CreateForRawFS, 1468 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileRef_CreateForRawFS,
1446 base::FilePath /* external_path */) 1469 base::FilePath /* external_path */)
1447 1470
1448 // Creates a FileRef to a path on a file system that uses fileapi. 1471 // Creates a FileRef to a path on a file system that uses fileapi.
1449 // This message may be sent from the renderer or the plugin. 1472 // This message may be sent from the renderer or the plugin.
1450 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileRef_CreateForFileAPI, 1473 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileRef_CreateForFileAPI,
1451 PP_Resource /* file_system */, 1474 PP_Resource /* file_system */,
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 std::vector<ppapi::HostResource> /* buffers */, 2360 std::vector<ppapi::HostResource> /* buffers */,
2338 uint32_t /* buffer_size */) 2361 uint32_t /* buffer_size */)
2339 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2362 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2340 uint32_t /* status */) 2363 uint32_t /* status */)
2341 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2364 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2342 uint32_t /* error */) 2365 uint32_t /* error */)
2343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2366 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2344 uint32_t /* buffer */) 2367 uint32_t /* buffer */)
2345 2368
2346 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2369 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698