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

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

Issue 23462016: Revert 219911 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/ppapi/proxy/interface_list.cc ('k') | trunk/src/ppapi/proxy/ppapi_param_traits.h » ('j') | 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "ppapi/proxy/ppapi_param_traits.h" 50 #include "ppapi/proxy/ppapi_param_traits.h"
51 #include "ppapi/proxy/ppapi_proxy_export.h" 51 #include "ppapi/proxy/ppapi_proxy_export.h"
52 #include "ppapi/proxy/resource_message_params.h" 52 #include "ppapi/proxy/resource_message_params.h"
53 #include "ppapi/proxy/serialized_flash_menu.h" 53 #include "ppapi/proxy/serialized_flash_menu.h"
54 #include "ppapi/proxy/serialized_handle.h" 54 #include "ppapi/proxy/serialized_handle.h"
55 #include "ppapi/proxy/serialized_structs.h" 55 #include "ppapi/proxy/serialized_structs.h"
56 #include "ppapi/proxy/serialized_var.h" 56 #include "ppapi/proxy/serialized_var.h"
57 #include "ppapi/shared_impl/dir_contents.h" 57 #include "ppapi/shared_impl/dir_contents.h"
58 #include "ppapi/shared_impl/file_path.h" 58 #include "ppapi/shared_impl/file_path.h"
59 #include "ppapi/shared_impl/file_ref_create_info.h" 59 #include "ppapi/shared_impl/file_ref_create_info.h"
60 #include "ppapi/shared_impl/file_ref_detailed_info.h"
61 #include "ppapi/shared_impl/ppapi_nacl_channel_args.h" 60 #include "ppapi/shared_impl/ppapi_nacl_channel_args.h"
62 #include "ppapi/shared_impl/ppapi_preferences.h" 61 #include "ppapi/shared_impl/ppapi_preferences.h"
63 #include "ppapi/shared_impl/ppb_device_ref_shared.h" 62 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
64 #include "ppapi/shared_impl/ppb_input_event_shared.h" 63 #include "ppapi/shared_impl/ppb_input_event_shared.h"
65 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" 64 #include "ppapi/shared_impl/ppb_network_list_private_shared.h"
66 #include "ppapi/shared_impl/ppb_view_shared.h" 65 #include "ppapi/shared_impl/ppb_view_shared.h"
67 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 66 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
68 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" 67 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
69 #include "ppapi/shared_impl/socket_option_data.h" 68 #include "ppapi/shared_impl/socket_option_data.h"
70 #include "ppapi/shared_impl/url_request_info_data.h" 69 #include "ppapi/shared_impl/url_request_info_data.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 IPC_STRUCT_TRAITS_MEMBER(type) 195 IPC_STRUCT_TRAITS_MEMBER(type)
197 IPC_STRUCT_TRAITS_MEMBER(name) 196 IPC_STRUCT_TRAITS_MEMBER(name)
198 IPC_STRUCT_TRAITS_MEMBER(id) 197 IPC_STRUCT_TRAITS_MEMBER(id)
199 IPC_STRUCT_TRAITS_END() 198 IPC_STRUCT_TRAITS_END()
200 199
201 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) 200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry)
202 IPC_STRUCT_TRAITS_MEMBER(name) 201 IPC_STRUCT_TRAITS_MEMBER(name)
203 IPC_STRUCT_TRAITS_MEMBER(is_dir) 202 IPC_STRUCT_TRAITS_MEMBER(is_dir)
204 IPC_STRUCT_TRAITS_END() 203 IPC_STRUCT_TRAITS_END()
205 204
206 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefCreateInfo) 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRef_CreateInfo)
207 IPC_STRUCT_TRAITS_MEMBER(file_system_type) 206 IPC_STRUCT_TRAITS_MEMBER(file_system_type)
208 IPC_STRUCT_TRAITS_MEMBER(internal_path) 207 IPC_STRUCT_TRAITS_MEMBER(internal_path)
209 IPC_STRUCT_TRAITS_MEMBER(display_name) 208 IPC_STRUCT_TRAITS_MEMBER(display_name)
210 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id) 209 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id)
211 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) 210 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource)
212 IPC_STRUCT_TRAITS_END() 211 IPC_STRUCT_TRAITS_END()
213 212
214 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefDetailedInfo)
215 IPC_STRUCT_TRAITS_MEMBER(resource)
216 IPC_STRUCT_TRAITS_MEMBER(file_system_type)
217 IPC_STRUCT_TRAITS_MEMBER(file_system_url_spec)
218 IPC_STRUCT_TRAITS_MEMBER(external_path)
219 IPC_STRUCT_TRAITS_END()
220
221 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) 213 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting)
222 IPC_STRUCT_TRAITS_MEMBER(site) 214 IPC_STRUCT_TRAITS_MEMBER(site)
223 IPC_STRUCT_TRAITS_MEMBER(permission) 215 IPC_STRUCT_TRAITS_MEMBER(permission)
224 IPC_STRUCT_TRAITS_END() 216 IPC_STRUCT_TRAITS_END()
225 217
226 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 218 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
227 IPC_STRUCT_TRAITS_MEMBER(rect) 219 IPC_STRUCT_TRAITS_MEMBER(rect)
228 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) 220 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
229 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) 221 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
230 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 222 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 291 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
300 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
301 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) 293 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
302 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) 294 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
303 IPC_STRUCT_TRAITS_MEMBER(body) 295 IPC_STRUCT_TRAITS_MEMBER(body)
304 IPC_STRUCT_TRAITS_END() 296 IPC_STRUCT_TRAITS_END()
305 297
306 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) 298 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem)
307 IPC_STRUCT_TRAITS_MEMBER(is_file) 299 IPC_STRUCT_TRAITS_MEMBER(is_file)
308 IPC_STRUCT_TRAITS_MEMBER(data) 300 IPC_STRUCT_TRAITS_MEMBER(data)
309 IPC_STRUCT_TRAITS_MEMBER(file_ref_pp_resource) 301 // Note: we don't serialize file_ref.
302 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource)
310 IPC_STRUCT_TRAITS_MEMBER(start_offset) 303 IPC_STRUCT_TRAITS_MEMBER(start_offset)
311 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) 304 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes)
312 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) 305 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time)
313 IPC_STRUCT_TRAITS_END() 306 IPC_STRUCT_TRAITS_END()
314 307
315 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) 308 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData)
316 IPC_STRUCT_TRAITS_MEMBER(url) 309 IPC_STRUCT_TRAITS_MEMBER(url)
317 IPC_STRUCT_TRAITS_MEMBER(headers) 310 IPC_STRUCT_TRAITS_MEMBER(headers)
318 IPC_STRUCT_TRAITS_MEMBER(status_code) 311 IPC_STRUCT_TRAITS_MEMBER(status_code)
319 IPC_STRUCT_TRAITS_MEMBER(status_text) 312 IPC_STRUCT_TRAITS_MEMBER(status_text)
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // result codes. 479 // result codes.
487 // 480 //
488 // The handler of this message should always close all of the handles passed 481 // The handler of this message should always close all of the handles passed
489 // in, since some could be valid even in the error case. 482 // in, since some could be valid even in the error case.
490 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 483 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
491 ppapi::HostResource /* audio_id */, 484 ppapi::HostResource /* audio_id */,
492 int32_t /* result_code (will be != PP_OK on failure) */, 485 int32_t /* result_code (will be != PP_OK on failure) */,
493 ppapi::proxy::SerializedHandle /* socket_handle */, 486 ppapi::proxy::SerializedHandle /* socket_handle */,
494 ppapi::proxy::SerializedHandle /* handle */) 487 ppapi::proxy::SerializedHandle /* handle */)
495 488
489 // PPB_FileRef.
490 // TODO(teravest): Remove these messages when we've switched over to the "new"
491 // proxy.
492 IPC_MESSAGE_ROUTED3(
493 PpapiMsg_PPBFileRef_CallbackComplete,
494 ppapi::HostResource /* resource */,
495 uint32_t /* callback_id */,
496 int32_t /* result */)
497
498 IPC_MESSAGE_ROUTED4(
499 PpapiMsg_PPBFileRef_QueryCallbackComplete,
500 ppapi::HostResource /* resource */,
501 PP_FileInfo /* file_info */,
502 uint32_t /* callback_id */,
503 int32_t /* result */)
504
505 IPC_MESSAGE_ROUTED5(
506 PpapiMsg_PPBFileRef_ReadDirectoryEntriesCallbackComplete,
507 ppapi::HostResource /* resource */,
508 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */,
509 std::vector<PP_FileType> /* file_types */,
510 uint32_t /* callback_id */,
511 int32_t /* result */)
512
496 // PPB_FileSystem. 513 // PPB_FileSystem.
497 IPC_MESSAGE_ROUTED2( 514 IPC_MESSAGE_ROUTED2(
498 PpapiMsg_PPBFileSystem_OpenComplete, 515 PpapiMsg_PPBFileSystem_OpenComplete,
499 ppapi::HostResource /* filesystem */, 516 ppapi::HostResource /* filesystem */,
500 int32_t /* result */) 517 int32_t /* result */)
501 518
502 // PPB_Graphics3D. 519 // PPB_Graphics3D.
503 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 520 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
504 ppapi::HostResource /* graphics_3d */, 521 ppapi::HostResource /* graphics_3d */,
505 int32_t /* pp_error */) 522 int32_t /* pp_error */)
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, 765 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
749 ppapi::HostResource /* audio_id */, 766 ppapi::HostResource /* audio_id */,
750 bool /* play */) 767 bool /* play */)
751 768
752 // PPB_Core. 769 // PPB_Core.
753 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, 770 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource,
754 ppapi::HostResource) 771 ppapi::HostResource)
755 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, 772 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource,
756 ppapi::HostResource) 773 ppapi::HostResource)
757 774
775 // PPB_FileRef.
776 // TODO(teravest): Remove these messages when we've switched over to the "new"
777 // proxy.
778 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileRef_Create,
779 PP_Instance /* instance */,
780 PP_Resource /* file_system */,
781 std::string /* path */,
782 ppapi::PPB_FileRef_CreateInfo /* result */)
783 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent,
784 ppapi::HostResource /* file_ref */,
785 ppapi::PPB_FileRef_CreateInfo /* result */)
786 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory,
787 ppapi::HostResource /* file_ref */,
788 PP_Bool /* make_ancestors */,
789 uint32_t /* callback_id */)
790 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch,
791 ppapi::HostResource /* file_ref */,
792 PP_Time /* last_access */,
793 PP_Time /* last_modified */,
794 uint32_t /* callback_id */)
795 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete,
796 ppapi::HostResource /* file_ref */,
797 uint32_t /* callback_id */)
798 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename,
799 ppapi::HostResource /* file_ref */,
800 ppapi::HostResource /* new_file_ref */,
801 uint32_t /* callback_id */)
802 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Query,
803 ppapi::HostResource /* file_ref */,
804 uint32_t /* callback_id */)
805 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath,
806 ppapi::HostResource /* file_ref */,
807 ppapi::proxy::SerializedVar /* result */)
808 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_ReadDirectoryEntries,
809 ppapi::HostResource /* file_ref */,
810 uint32_t /* callback_id */)
811
758 // PPB_Graphics3D. 812 // PPB_Graphics3D.
759 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 813 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
760 PP_Instance /* instance */, 814 PP_Instance /* instance */,
761 ppapi::HostResource /* share_context */, 815 ppapi::HostResource /* share_context */,
762 std::vector<int32_t> /* attrib_list */, 816 std::vector<int32_t> /* attrib_list */,
763 ppapi::HostResource /* result */) 817 ppapi::HostResource /* result */)
764 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 818 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
765 ppapi::HostResource /* context */, 819 ppapi::HostResource /* context */,
766 int32 /* transfer_buffer_id */) 820 int32 /* transfer_buffer_id */)
767 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, 821 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState,
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 // that of the previous ResourceCall. 1195 // that of the previous ResourceCall.
1142 IPC_MESSAGE_CONTROL2( 1196 IPC_MESSAGE_CONTROL2(
1143 PpapiPluginMsg_ResourceReply, 1197 PpapiPluginMsg_ResourceReply,
1144 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1198 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1145 IPC::Message /* nested_msg */) 1199 IPC::Message /* nested_msg */)
1146 IPC_MESSAGE_ROUTED2( 1200 IPC_MESSAGE_ROUTED2(
1147 PpapiHostMsg_InProcessResourceReply, 1201 PpapiHostMsg_InProcessResourceReply,
1148 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1202 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1149 IPC::Message /* nested_msg */) 1203 IPC::Message /* nested_msg */)
1150 1204
1205
1151 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, 1206 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall,
1152 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1207 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1153 IPC::Message /* nested_msg */, 1208 IPC::Message /* nested_msg */,
1154 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1209 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1155 IPC::Message /* reply_msg */) 1210 IPC::Message /* reply_msg */)
1156 1211
1157 // This message is sent from the renderer to the browser when it wants to create 1212 // This message is sent from the renderer to the browser when it wants to create
1158 // ResourceHosts in the browser. It contains the process ID of the plugin and 1213 // ResourceHosts in the browser. It contains the process ID of the plugin and
1159 // the instance of the plugin for which to create the resource for. params 1214 // the instance of the plugin for which to create the resource for. params
1160 // contains the sequence number for the message to track the response. 1215 // contains the sequence number for the message to track the response.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 std::string /* fsid */) 1269 std::string /* fsid */)
1215 1270
1216 // File chooser. 1271 // File chooser.
1217 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1272 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1218 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1273 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1219 bool /* save_as */, 1274 bool /* save_as */,
1220 bool /* open_multiple */, 1275 bool /* open_multiple */,
1221 std::string /* suggested_file_name */, 1276 std::string /* suggested_file_name */,
1222 std::vector<std::string> /* accept_mime_types */) 1277 std::vector<std::string> /* accept_mime_types */)
1223 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1278 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1224 std::vector<ppapi::FileRefCreateInfo> /* files */) 1279 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1225 1280
1226 // FileIO 1281 // FileIO
1227 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1282 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1228 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1283 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1229 PP_Resource /* file_ref_resource */, 1284 PP_Resource /* file_ref_resource */,
1230 int32_t /* open_flags */) 1285 int32_t /* open_flags */)
1231 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1286 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1232 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1287 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1233 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1288 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1234 PP_Time /* last_access_time */, 1289 PP_Time /* last_access_time */,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 // Requests that the browser retrieve metadata information for a file or 1345 // Requests that the browser retrieve metadata information for a file or
1291 // directory at the location indicated by the FileRef. 1346 // directory at the location indicated by the FileRef.
1292 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) 1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query)
1293 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, 1348 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply,
1294 PP_FileInfo /* file_info */) 1349 PP_FileInfo /* file_info */)
1295 1350
1296 // Requests that the browser retrieve then entries in a directory at the 1351 // Requests that the browser retrieve then entries in a directory at the
1297 // location indicated by the FileRef. 1352 // location indicated by the FileRef.
1298 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) 1353 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries)
1299 1354
1300 // FileRefCreateInfo does not provide file type information, so two 1355 // FileRef_CreateInfo does not provide file type information, so two
1301 // corresponding vectors are returned. 1356 // corresponding vectors are returned.
1302 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, 1357 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply,
1303 std::vector<ppapi::FileRefCreateInfo> /* files */, 1358 std::vector<ppapi::FileRef_CreateInfo> /* files */,
1304 std::vector<PP_FileType> /* file_types */) 1359 std::vector<PP_FileType> /* file_types */)
1305 1360
1306 // Requests that the browser reply with the absolute path to the indicated 1361 // Requests that the browser reply with the absolute path to the indicated
1307 // file. 1362 // file.
1308 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) 1363 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath)
1309 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, 1364 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply,
1310 std::string /* absolute_path */) 1365 std::string /* absolute_path */)
1311 1366
1312 // FileSystem 1367 // FileSystem
1313 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, 1368 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create,
(...skipping 20 matching lines...) Expand all
1334 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. 1389 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t.
1335 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, 1390 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply,
1336 int64_t /* hmonitor */) 1391 int64_t /* hmonitor */)
1337 1392
1338 // Requests the voucher file which is used to verify the integrity of the Flash 1393 // Requests the voucher file which is used to verify the integrity of the Flash
1339 // module. A PPB_FileRef resource will be created. 1394 // module. A PPB_FileRef resource will be created.
1340 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) 1395 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile)
1341 // Reply message for GetVoucherFile which contains the CreateInfo for a 1396 // Reply message for GetVoucherFile which contains the CreateInfo for a
1342 // PPB_FileRef which points to the voucher file. 1397 // PPB_FileRef which points to the voucher file.
1343 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, 1398 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply,
1344 ppapi::FileRefCreateInfo /* file_info */) 1399 ppapi::PPB_FileRef_CreateInfo /* file_info */)
1345 1400
1346 // Gamepad. 1401 // Gamepad.
1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) 1402 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create)
1348 1403
1349 // Requests that the gamepad host send the shared memory handle to the plugin 1404 // Requests that the gamepad host send the shared memory handle to the plugin
1350 // process. 1405 // process.
1351 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) 1406 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory)
1352 1407
1353 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1408 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1354 // actual handle is passed in the ReplyParams struct. 1409 // actual handle is passed in the ReplyParams struct.
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 int /* routing_id */, 1785 int /* routing_id */,
1731 int /* child_process_id */, 1786 int /* child_process_id */,
1732 int32_t /* sequence */, 1787 int32_t /* sequence */,
1733 std::vector<PP_Resource> /* resources */) 1788 std::vector<PP_Resource> /* resources */)
1734 1789
1735 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for 1790 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for
1736 // invoking the right callback, |fs_type| which indicates the file system, and 1791 // invoking the right callback, |fs_type| which indicates the file system, and
1737 // path information in either |file_system_url_spec| (for internal file systems) 1792 // path information in either |file_system_url_spec| (for internal file systems)
1738 // or |external_path| (for external file systems). 1793 // or |external_path| (for external file systems).
1739 // Only sent from the browser to the renderer. 1794 // Only sent from the browser to the renderer.
1740 IPC_MESSAGE_ROUTED2( 1795 IPC_MESSAGE_ROUTED5(PpapiHostMsg_FileRef_GetInfoForRendererReply,
1741 PpapiHostMsg_FileRef_GetInfoForRendererReply, 1796 int32_t /* sequence */,
1742 int32_t /* sequence */, 1797 std::vector<PP_Resource> /* resources */,
1743 std::vector<ppapi::FileRefDetailedInfo> /* detailed_info */) 1798 std::vector<PP_FileSystemType> /* fs_type */,
1744 1799 std::vector<std::string> /* file_system_url_spec */,
1745 // A synchronous version of the two above messages. This is required to support 1800 std::vector<base::FilePath> /* external_path */)
1746 // some URL loading routes which must be executed synchronously.
1747 IPC_SYNC_MESSAGE_ROUTED2_1(
1748 PpapiHostMsg_FileRef_SyncGetInfoForRenderer,
1749 int /* child_process_id */,
1750 std::vector<PP_Resource> /* resources */,
1751 std::vector<ppapi::FileRefDetailedInfo> /* detailed_info */)
1752 1801
1753 // Flash ----------------------------------------------------------------------- 1802 // Flash -----------------------------------------------------------------------
1754 1803
1755 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1804 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1756 1805
1757 // Message to notify the browser to register an update in system activity. 1806 // Message to notify the browser to register an update in system activity.
1758 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) 1807 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity)
1759 1808
1760 // Query the browser for the proxy server to use for the given URL. 1809 // Query the browser for the proxy server to use for the given URL.
1761 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) 1810 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */)
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1972 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1973 PP_TalkPermission /* permission */) 2022 PP_TalkPermission /* permission */)
1974 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1975 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1976 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2025 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1977 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1978 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2027 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1979 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2028 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1980 2029
1981 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2030 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « trunk/src/ppapi/proxy/interface_list.cc ('k') | trunk/src/ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698