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

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

Issue 18063005: Do PPB_FileIO Query and Read in the plugin process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prevent writes on plugin side. Created 7 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 | Annotate | Revision Log
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 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1370 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1371 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1371 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1372 1372
1373 // FileIO 1373 // FileIO
1374 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1374 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1375 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1375 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1376 PP_Resource /* file_ref_resource */, 1376 PP_Resource /* file_ref_resource */,
1377 int32_t /* open_flags */) 1377 int32_t /* open_flags */)
1378 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1378 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1379 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1379 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1380 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Query)
1381 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_QueryReply, PP_FileInfo /* info */)
1382 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1380 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1383 PP_Time /* last_access_time */, 1381 PP_Time /* last_access_time */,
1384 PP_Time /* last_modified_time */) 1382 PP_Time /* last_modified_time */)
1385 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Read,
1386 int64_t /* offset */,
1387 int32_t /* bytes_to_read */)
1388 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_ReadReply, std::string /* data */)
1389 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write, 1383 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write,
1390 int64_t /* offset */, 1384 int64_t /* offset */,
1391 std::string /* data */) 1385 std::string /* data */)
1392 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength, 1386 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength,
1393 int64_t /* length */) 1387 int64_t /* length */)
1394 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush) 1388 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush)
1395 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite, 1389 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite,
1396 int64_t /* offset */, 1390 int64_t /* offset */,
1397 int32_t /* bytes_to_write */) 1391 int32_t /* bytes_to_write */)
1398 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength, 1392 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength,
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2052 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2059 PP_TalkPermission /* permission */) 2053 PP_TalkPermission /* permission */)
2060 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2054 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2061 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2055 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2062 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2056 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2063 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2057 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2064 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2058 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2065 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2059 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2066 2060
2067 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2061 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« content/renderer/pepper/pepper_file_io_host.cc ('K') | « ppapi/proxy/file_io_resource.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698