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

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

Issue 7601005: PPB/PPP_VideoCapture_Dev proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 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
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 5 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_
6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 struct PPBURLLoader_UpdateProgress_Params { 107 struct PPBURLLoader_UpdateProgress_Params {
108 PP_Instance instance; 108 PP_Instance instance;
109 pp::proxy::HostResource resource; 109 pp::proxy::HostResource resource;
110 int64_t bytes_sent; 110 int64_t bytes_sent;
111 int64_t total_bytes_to_be_sent; 111 int64_t total_bytes_to_be_sent;
112 int64_t bytes_received; 112 int64_t bytes_received;
113 int64_t total_bytes_to_be_received; 113 int64_t total_bytes_to_be_received;
114 }; 114 };
115 115
116 struct PPPVideoCapture_Buffer {
117 pp::proxy::HostResource resource;
118 uint32_t size;
119 base::SharedMemoryHandle handle;
120 };
121
116 #if defined(OS_WIN) 122 #if defined(OS_WIN)
117 typedef HANDLE ImageHandle; 123 typedef HANDLE ImageHandle;
118 #elif defined(OS_MACOSX) 124 #elif defined(OS_MACOSX)
119 typedef base::SharedMemoryHandle ImageHandle; 125 typedef base::SharedMemoryHandle ImageHandle;
120 #else 126 #else
121 // On X Windows this is a SysV shared memory key. 127 // On X Windows this is a SysV shared memory key.
122 typedef int ImageHandle; 128 typedef int ImageHandle;
123 #endif 129 #endif
124 130
125 } // namespace proxy 131 } // namespace proxy
126 } // namespace pp 132 } // namespace pp
127 133
128 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 134 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698