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

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

Issue 26564009: [PPAPI] It is now possible to pass filesystems from JavaScript to NaCl modules. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Cleanup after refactor. Created 7 years, 1 month 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
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 <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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 1284
1285 // FileSystem 1285 // FileSystem
1286 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, 1286 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create,
1287 PP_FileSystemType /* type */) 1287 PP_FileSystemType /* type */)
1288 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Open, 1288 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Open,
1289 int64_t /* expected_size */) 1289 int64_t /* expected_size */)
1290 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileSystem_OpenReply) 1290 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileSystem_OpenReply)
1291 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_InitIsolatedFileSystem, 1291 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_InitIsolatedFileSystem,
1292 std::string /* fsid */) 1292 std::string /* fsid */)
1293 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileSystem_InitIsolatedFileSystemReply) 1293 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileSystem_InitIsolatedFileSystemReply)
1294 // Passed from renderer to browser. Creates an already-open file system with a
1295 // given |root_url| and |file_system_type|.
1296 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileSystem_CreateFromRenderer,
1297 std::string /* root_url */,
1298 PP_FileSystemType /* file_system_type */)
1299 // Nested within a ResourceVar for file systems being passed from the renderer
1300 // to the plugin. Creates an already-open file system resource on the plugin,
1301 // linked to the existing resource host given in the ResourceVar.
1302 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileSystem_CreateFromPendingHost,
1303 PP_FileSystemType /* file_system_type */)
1294 1304
1295 // Flash DRM ------------------------------------------------------------------ 1305 // Flash DRM ------------------------------------------------------------------
1296 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_Create) 1306 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_Create)
1297 1307
1298 // Requests the device ID. 1308 // Requests the device ID.
1299 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetDeviceID) 1309 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetDeviceID)
1300 // Reply for GetDeviceID which includes the device ID as a string. 1310 // Reply for GetDeviceID which includes the device ID as a string.
1301 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetDeviceIDReply, 1311 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetDeviceIDReply,
1302 std::string /* id */) 1312 std::string /* id */)
1303 1313
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1956 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1966 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1957 PP_TalkPermission /* permission */) 1967 PP_TalkPermission /* permission */)
1958 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1968 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1959 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 1969 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1960 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 1970 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1961 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 1971 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1962 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 1972 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1963 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 1973 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1964 1974
1965 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1975 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698