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

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: Add a note explaining buffer transfer for DoRead. 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
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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1379 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1380 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1380 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1381 1381
1382 // FileIO 1382 // FileIO
1383 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1383 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1384 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1384 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1385 PP_Resource /* file_ref_resource */, 1385 PP_Resource /* file_ref_resource */,
1386 int32_t /* open_flags */) 1386 int32_t /* open_flags */)
1387 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1387 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1388 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1388 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1389 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Query)
1390 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_QueryReply, PP_FileInfo /* info */)
1391 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1389 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1392 PP_Time /* last_access_time */, 1390 PP_Time /* last_access_time */,
1393 PP_Time /* last_modified_time */) 1391 PP_Time /* last_modified_time */)
1394 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Read,
1395 int64_t /* offset */,
1396 int32_t /* bytes_to_read */)
1397 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_ReadReply, std::string /* data */)
1398 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write, 1392 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write,
1399 int64_t /* offset */, 1393 int64_t /* offset */,
1400 std::string /* data */) 1394 std::string /* data */)
1401 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength, 1395 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength,
1402 int64_t /* length */) 1396 int64_t /* length */)
1403 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush) 1397 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush)
1404 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite, 1398 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite,
1405 int64_t /* offset */, 1399 int64_t /* offset */,
1406 int32_t /* bytes_to_write */) 1400 int32_t /* bytes_to_write */)
1407 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength, 1401 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength,
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2070 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2077 PP_TalkPermission /* permission */) 2071 PP_TalkPermission /* permission */)
2078 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2072 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2079 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2073 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2080 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2074 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2081 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2075 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2082 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2076 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2083 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2077 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2084 2078
2085 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2079 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698