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

Unified Diff: ppapi/thunk/ppb_buffer_api.h

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove proxy implementation of GetSharedMemory. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/ppb_buffer_trusted_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_buffer_api.h
diff --git a/ppapi/thunk/ppb_buffer_api.h b/ppapi/thunk/ppb_buffer_api.h
index e82f2c46667bd4ef00e78828b7e9b0332a5c0a97..2542ec4cf5a96d2176b65c3f0766d4bf02e6be1d 100644
--- a/ppapi/thunk/ppb_buffer_api.h
+++ b/ppapi/thunk/ppb_buffer_api.h
@@ -20,6 +20,9 @@ class PPAPI_THUNK_EXPORT PPB_Buffer_API {
virtual PP_Bool IsMapped() = 0;
virtual void* Map() = 0;
virtual void Unmap() = 0;
+
+ // Trusted API
+ virtual int32_t GetSharedMemory(int* handle) = 0;
};
} // namespace thunk
« no previous file with comments | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/ppb_buffer_trusted_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698