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

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

Issue 11474040: Fix some types at the IPC layer. Sizes should be unsigned. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/c/dev/pp_video_dev.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.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/file_path.h" 10 #include "base/file_path.h"
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 ppapi::HostResource /* context */, 906 ppapi::HostResource /* context */,
907 int32 /* put_offset */, 907 int32 /* put_offset */,
908 int32 /* last_known_get */, 908 int32 /* last_known_get */,
909 gpu::CommandBuffer::State /* state */, 909 gpu::CommandBuffer::State /* state */,
910 bool /* success */) 910 bool /* success */)
911 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush, 911 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_AsyncFlush,
912 ppapi::HostResource /* context */, 912 ppapi::HostResource /* context */,
913 int32 /* put_offset */) 913 int32 /* put_offset */)
914 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, 914 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer,
915 ppapi::HostResource /* context */, 915 ppapi::HostResource /* context */,
916 int32 /* size */, 916 uint32 /* size */,
917 int32 /* id */) 917 int32 /* id */)
918 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, 918 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer,
919 ppapi::HostResource /* context */, 919 ppapi::HostResource /* context */,
920 int32 /* id */) 920 int32 /* id */)
921 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, 921 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer,
922 ppapi::HostResource /* context */, 922 ppapi::HostResource /* context */,
923 int32 /* id */, 923 int32 /* id */,
924 ppapi::proxy::SerializedHandle /* transfer_buffer */) 924 ppapi::proxy::SerializedHandle /* transfer_buffer */)
925 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, 925 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers,
926 ppapi::HostResource /* graphics_3d */) 926 ppapi::HostResource /* graphics_3d */)
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 // PPB_VideoDecoder. 1235 // PPB_VideoDecoder.
1236 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, 1236 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create,
1237 PP_Instance /* instance */, 1237 PP_Instance /* instance */,
1238 ppapi::HostResource /* context */, 1238 ppapi::HostResource /* context */,
1239 PP_VideoDecoder_Profile /* profile */, 1239 PP_VideoDecoder_Profile /* profile */,
1240 ppapi::HostResource /* result */) 1240 ppapi::HostResource /* result */)
1241 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, 1241 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode,
1242 ppapi::HostResource /* video_decoder */, 1242 ppapi::HostResource /* video_decoder */,
1243 ppapi::HostResource /* bitstream buffer */, 1243 ppapi::HostResource /* bitstream buffer */,
1244 int32 /* bitstream buffer id */, 1244 int32 /* bitstream buffer id */,
1245 int32 /* size of buffer */) 1245 uint32 /* size of buffer */)
1246 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, 1246 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers,
1247 ppapi::HostResource /* video_decoder */, 1247 ppapi::HostResource /* video_decoder */,
1248 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1248 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1249 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1249 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1250 ppapi::HostResource /* video_decoder */, 1250 ppapi::HostResource /* video_decoder */,
1251 int32_t /* picture buffer id */) 1251 int32_t /* picture buffer id */)
1252 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1252 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1253 ppapi::HostResource /* video_decoder */) 1253 ppapi::HostResource /* video_decoder */)
1254 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1254 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1255 ppapi::HostResource /* video_decoder */) 1255 ppapi::HostResource /* video_decoder */)
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 std::vector<ppapi::HostResource> /* buffers */, 1723 std::vector<ppapi::HostResource> /* buffers */,
1724 uint32_t /* buffer_size */) 1724 uint32_t /* buffer_size */)
1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1725 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1726 uint32_t /* status */) 1726 uint32_t /* status */)
1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1727 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1728 uint32_t /* error */) 1728 uint32_t /* error */)
1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1729 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1730 uint32_t /* buffer */) 1730 uint32_t /* buffer */)
1731 1731
1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1732 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/c/dev/pp_video_dev.h ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698