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

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

Issue 22646005: Do PPB_FileIO Query and Read in the plugin process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to final patch. Created 7 years, 4 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
« no previous file with comments | « ppapi/proxy/file_io_resource.cc ('k') | no next file » | 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 <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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1288 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1289 std::vector<ppapi::FileRefCreateInfo> /* files */) 1289 std::vector<ppapi::FileRefCreateInfo> /* files */)
1290 1290
1291 // FileIO 1291 // FileIO
1292 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1292 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1293 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1293 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1294 PP_Resource /* file_ref_resource */, 1294 PP_Resource /* file_ref_resource */,
1295 int32_t /* open_flags */) 1295 int32_t /* open_flags */)
1296 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1296 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1297 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1297 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1298 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Query)
1299 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_QueryReply, PP_FileInfo /* info */)
1300 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1298 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1301 PP_Time /* last_access_time */, 1299 PP_Time /* last_access_time */,
1302 PP_Time /* last_modified_time */) 1300 PP_Time /* last_modified_time */)
1303 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Read,
1304 int64_t /* offset */,
1305 int32_t /* bytes_to_read */)
1306 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_ReadReply, std::string /* data */)
1307 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write, 1301 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write,
1308 int64_t /* offset */, 1302 int64_t /* offset */,
1309 std::string /* data */) 1303 std::string /* data */)
1310 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength, 1304 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength,
1311 int64_t /* length */) 1305 int64_t /* length */)
1312 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush) 1306 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush)
1313 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite, 1307 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite,
1314 int64_t /* offset */, 1308 int64_t /* offset */,
1315 int32_t /* bytes_to_write */) 1309 int32_t /* bytes_to_write */)
1316 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength, 1310 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength,
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
2008 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2002 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2009 PP_TalkPermission /* permission */) 2003 PP_TalkPermission /* permission */)
2010 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2004 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2011 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2005 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2012 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2006 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2013 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2007 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2014 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2008 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2015 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2009 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2016 2010
2017 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2011 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/file_io_resource.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698