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

Side by Side Diff: ppapi/c/trusted/ppb_buffer_trusted.h

Issue 7108051: Implement out-of-process proxy for PPB_Buffer_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude out-of-process testing for OS_MACOSX, where apparently sandboxing dies at startup. Created 9 years, 6 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 | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/cpp/dev/buffer_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 * found in the LICENSE file.
4 */
5 #ifndef PPAPI_C_TRUSTED_PPB_BUFFER_TRUSTED_H_
6 #define PPAPI_C_TRUSTED_PPB_BUFFER_TRUSTED_H_
7
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/pp_resource.h"
10
11 #define PPB_BUFFER_TRUSTED_INTERFACE "PPB_BufferTrusted;0.1"
12
13 struct PPB_BufferTrusted {
14 /**
15 * Returns the internal shared memory pointer associated with the given
16 * Buffer resource. Used for proxying. Returns PP_OK on success, or
17 * PP_ERROR_* on failure. On success, the size in bytes of the shared
18 * memory region will be placed into |*byte_count|, and the handle for
19 * the shared memory in |*handle|.
20 */
21 int32_t (*GetSharedMemory)(PP_Resource buffer, int* handle);
22 };
23
24 #endif // PPAPI_C_TRUSTED_PPB_BUFFER_TRUSTED_H_
OLDNEW
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/cpp/dev/buffer_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698