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

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

Issue 12817009: Add Query() support to FileRef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: callback type, PP_FileInfo initialization Created 7 years, 9 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
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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 442 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
443 ppapi::HostResource /* audio_id */, 443 ppapi::HostResource /* audio_id */,
444 int32_t /* result_code (will be != PP_OK on failure) */, 444 int32_t /* result_code (will be != PP_OK on failure) */,
445 ppapi::proxy::SerializedHandle /* socket_handle */, 445 ppapi::proxy::SerializedHandle /* socket_handle */,
446 ppapi::proxy::SerializedHandle /* handle */) 446 ppapi::proxy::SerializedHandle /* handle */)
447 447
448 // PPB_FileRef. 448 // PPB_FileRef.
449 IPC_MESSAGE_ROUTED3( 449 IPC_MESSAGE_ROUTED3(
450 PpapiMsg_PPBFileRef_CallbackComplete, 450 PpapiMsg_PPBFileRef_CallbackComplete,
451 ppapi::HostResource /* resource */, 451 ppapi::HostResource /* resource */,
452 int /* callback_id */, 452 uint32_t /* callback_id */,
453 int32_t /* result */)
454
455 IPC_MESSAGE_ROUTED4(
456 PpapiMsg_PPBFileRef_QueryCallbackComplete,
457 ppapi::HostResource /* resource */,
458 PP_FileInfo /* file_info */,
459 uint32_t /* callback_id */,
453 int32_t /* result */) 460 int32_t /* result */)
454 461
455 // PPB_FileSystem. 462 // PPB_FileSystem.
456 IPC_MESSAGE_ROUTED2( 463 IPC_MESSAGE_ROUTED2(
457 PpapiMsg_PPBFileSystem_OpenComplete, 464 PpapiMsg_PPBFileSystem_OpenComplete,
458 ppapi::HostResource /* filesystem */, 465 ppapi::HostResource /* filesystem */,
459 int32_t /* result */) 466 int32_t /* result */)
460 467
461 // PPB_Graphics3D. 468 // PPB_Graphics3D.
462 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 469 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create, 792 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create,
786 ppapi::HostResource /* file_system */, 793 ppapi::HostResource /* file_system */,
787 std::string /* path */, 794 std::string /* path */,
788 ppapi::PPB_FileRef_CreateInfo /* result */) 795 ppapi::PPB_FileRef_CreateInfo /* result */)
789 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent, 796 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent,
790 ppapi::HostResource /* file_ref */, 797 ppapi::HostResource /* file_ref */,
791 ppapi::PPB_FileRef_CreateInfo /* result */) 798 ppapi::PPB_FileRef_CreateInfo /* result */)
792 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory, 799 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory,
793 ppapi::HostResource /* file_ref */, 800 ppapi::HostResource /* file_ref */,
794 PP_Bool /* make_ancestors */, 801 PP_Bool /* make_ancestors */,
795 int /* callback_id */) 802 uint32_t /* callback_id */)
796 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch, 803 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch,
797 ppapi::HostResource /* file_ref */, 804 ppapi::HostResource /* file_ref */,
798 PP_Time /* last_access */, 805 PP_Time /* last_access */,
799 PP_Time /* last_modified */, 806 PP_Time /* last_modified */,
800 int /* callback_id */) 807 uint32_t /* callback_id */)
801 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete, 808 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete,
802 ppapi::HostResource /* file_ref */, 809 ppapi::HostResource /* file_ref */,
803 int /* callback_id */) 810 uint32_t /* callback_id */)
804 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename, 811 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename,
805 ppapi::HostResource /* file_ref */, 812 ppapi::HostResource /* file_ref */,
806 ppapi::HostResource /* new_file_ref */, 813 ppapi::HostResource /* new_file_ref */,
807 int /* callback_id */) 814 uint32_t /* callback_id */)
815 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Query,
816 ppapi::HostResource /* file_ref */,
817 uint32_t /* callback_id */)
808 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath, 818 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath,
809 ppapi::HostResource /* file_ref */, 819 ppapi::HostResource /* file_ref */,
810 ppapi::proxy::SerializedVar /* result */) 820 ppapi::proxy::SerializedVar /* result */)
811 821
812 // PPB_FileSystem. 822 // PPB_FileSystem.
813 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create, 823 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileSystem_Create,
814 PP_Instance /* instance */, 824 PP_Instance /* instance */,
815 int /* type */, 825 int /* type */,
816 ppapi::HostResource /* result */) 826 ppapi::HostResource /* result */)
817 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open, 827 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileSystem_Open,
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 std::vector<ppapi::HostResource> /* buffers */, 1757 std::vector<ppapi::HostResource> /* buffers */,
1748 uint32_t /* buffer_size */) 1758 uint32_t /* buffer_size */)
1749 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1759 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1750 uint32_t /* status */) 1760 uint32_t /* status */)
1751 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1761 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1752 uint32_t /* error */) 1762 uint32_t /* error */)
1753 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1763 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1754 uint32_t /* buffer */) 1764 uint32_t /* buffer */)
1755 1765
1756 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1766 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698