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

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. 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 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1344 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1344 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1345 1345
1346 // FileIO 1346 // FileIO
1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1348 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1348 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1349 PP_Resource /* file_ref_resource */, 1349 PP_Resource /* file_ref_resource */,
1350 int32_t /* open_flags */) 1350 int32_t /* open_flags */)
1351 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1351 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1352 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1352 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1353 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Query)
1354 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_QueryReply, PP_FileInfo /* info */)
1355 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1353 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1356 PP_Time /* last_access_time */, 1354 PP_Time /* last_access_time */,
1357 PP_Time /* last_modified_time */) 1355 PP_Time /* last_modified_time */)
1358 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Read,
1359 int64_t /* offset */,
1360 int32_t /* bytes_to_read */)
1361 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileIO_ReadReply, std::string /* data */)
1362 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write, 1356 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Write,
1363 int64_t /* offset */, 1357 int64_t /* offset */,
1364 std::string /* data */) 1358 std::string /* data */)
1365 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength, 1359 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_SetLength,
1366 int64_t /* length */) 1360 int64_t /* length */)
1367 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush) 1361 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Flush)
1368 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite, 1362 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_WillWrite,
1369 int64_t /* offset */, 1363 int64_t /* offset */,
1370 int32_t /* bytes_to_write */) 1364 int32_t /* bytes_to_write */)
1371 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength, 1365 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileIO_WillSetLength,
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
2057 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2051 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2058 PP_TalkPermission /* permission */) 2052 PP_TalkPermission /* permission */)
2059 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2053 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2060 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2054 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2061 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2055 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2062 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2056 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2063 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2057 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2064 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2058 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2065 2059
2066 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2060 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698